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

[BUG] It’s possible to enter a larger character limit for a select-type field, which prevents saving changes in the form. #652

Open
aiac opened this issue Dec 18, 2024 · 1 comment
Assignees

Comments

@aiac
Copy link

aiac commented Dec 18, 2024

Describe the bug
It’s possible to enter a character limit larger than the suggested 2000 in the input field while editing a select field. As a result, an error appears in the console when trying to save the form (using the "publish form" option), which is not visible to the user. I lost the entire form this way, without knowing it hadn’t been saved. I entered 3000 in that field.

To Reproduce
Steps to reproduce the behavior:

  1. Start creating new form
  2. Add select field
  3. Change characters limit > 2000
  4. Error in console: TypeError: a.form is undefined

Expected behavior
The input should not allow to enter number bigger than 2000, or any kind of notification should appear.

Environment (please complete the following information):

  • Docker, Self-hosted
  • OpnForm Version [e.g. 22]
@aiac aiac changed the title [BUG] [BUG] It’s possible to enter a larger character limit for a select-type field, which prevents saving changes in the form. Dec 18, 2024
@JhumanJ
Copy link
Owner

JhumanJ commented Dec 30, 2024

Hey @aiac could you please give this another try? We couldn't reproduce it

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

3 participants