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

Mantine form does not support validation on element indices over 9 #6779

Closed
1 of 2 tasks
emad-ms opened this issue Sep 5, 2024 · 0 comments · Fixed by #6794
Closed
1 of 2 tasks

Mantine form does not support validation on element indices over 9 #6779

emad-ms opened this issue Sep 5, 2024 · 0 comments · Fixed by #6794

Comments

@emad-ms
Copy link

emad-ms commented Sep 5, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.9.0

What package has an issue?

@mantine/form

What framework do you use?

Other, I will specify in the bug description

In which browsers you can reproduce the issue?

All

Describe the bug

I use a regular react app.
It seems in packages/@mantine/form/src/validate/should-validate-on-change.ts it only assumes the element index is between 0 to 9 and it's not validating fields over index 9
I followed this document

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
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