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

Implemented logic to perform form validation #1170

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

valadas
Copy link
Member

@valadas valadas commented Sep 24, 2024

  • When using a button with buttonType="submit", all the validateable fields will get their checkValidity() method called, which makes them display our custom version of validity state.
  • If any field is not valid, form submission is prevented.
  • If any field is invalid, the first invalid fied is scrolled into view and focused.

- When using a button with buttonType="submit", all the validateable fields will get their checkValidity() method called, which makes them display our custom version of validity state.
- If any field is not valid, form submission is prevented.
- If any field is invalid, the first invalid fied is scrolled into view and focused.
@valadas valadas added the enhancement New feature or request label Sep 24, 2024
@valadas valadas added this to the 0.24.0 milestone Sep 24, 2024
@valadas valadas merged commit 0c41d03 into DNNCommunity:develop Sep 25, 2024
2 checks passed
@valadas valadas added breaking and removed enhancement New feature or request labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant