-
Notifications
You must be signed in to change notification settings - Fork 40
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
front: no specific error message when input is too long #5935
Comments
I suggest to forbid more than 10 characters (more or less according to possible values of theses fields ?). So add a |
Current characters back breakpoints are 124 for codes and 1024 for description. Waiting for a PO to give us max for each field. |
Gotta ask how long those inputs can be, i'll ask and be right back to you when i have more info ! :) |
For names & description, i suggest to stick to a number and have the same for projects, studies, and scenarios. The value should be big enough not to restrict the user in my opinion, especially now that we collapse & deal with long descriptions with ellipsis. |
@flomonster I will give you the list of limits we have in the backend. |
LimitsI hope I haven't forgotten anything Note How to read this. Each field has a length limits.
Projects
Studies
Scenarios
|
Thanks, I think it's just missing 'service_code' which has the same length limit as 'business_code' |
What happened?
No specific error message when input is too long in "code service" or "code business" or "description" when creating a study, and in "name" and "description" when creating a scenario. Best to check all open fields just in case ?
What did you expect to happen?
I think the error message should look like this ?
How can we reproduce it (as minimally and precisely as possible)?
What operating system, browser and environment are you using?
OSRD version (top right corner
Account
button >Informations
)staging 3df6fbc
The text was updated successfully, but these errors were encountered: