Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim data entry fields #568

Closed
saumier opened this issue Sep 7, 2023 · 4 comments
Closed

Trim data entry fields #568

saumier opened this issue Sep 7, 2023 · 4 comments
Assignees

Comments

@saumier
Copy link
Member

saumier commented Sep 7, 2023

When entering strings into forms, user's sometimes copy/paste with an extra space in front of the name. This is very hard for a human to see. But it causes problems for sorting, and searching for computers.

The data entry fields should trim strings by removing blank spaces in front and also trailing. This applies to all string fields including name, alternate name, etc.

Also trim '\n' which represent hitting enter to create a new line.

Related to alphabetical sort order issue: https://github.com/culturecreates/footlight-calendar-api/issues/386

@troughc
Copy link
Contributor

troughc commented Nov 6, 2023

@saumier is this still an issue?

@saumier
Copy link
Member Author

saumier commented Dec 8, 2023

@troughc Abhishek says this is still an issue.

@troughc troughc added this to the December Release milestone Dec 11, 2023
@AbhishekPAnil
Copy link
Contributor

Added the trim functionality to all multilingual and normal input fields.The changes are updated in staging .
Closes tag added to commit 2640d95.

@troughc
Copy link
Contributor

troughc commented Dec 18, 2023

Tested staging on Chrome: PASSED
Tested staging on SAFARI: PASSED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants