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

Adding Max Length Validation For a Text Field That is Not Required Still Checks for Empty Value #634

Closed
qiarie opened this issue May 13, 2022 · 0 comments · Fixed by #635
Assignees

Comments

@qiarie
Copy link
Contributor

qiarie commented May 13, 2022

When v_max_length validation is added to text fields that do not have v_required set or value explicitly set to false, and no value is set before submitting the form, the field's validation fails.

For text fields not marked as mandatory, extra validation should only apply when there's a value entered, i.e., field is not empty.

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

Successfully merging a pull request may close this issue.

1 participant