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

Children of a list require a validation-label to use validation rules. #24

Closed
justin-schroeder opened this issue Dec 3, 2021 · 1 comment
Assignees
Labels
🐛 bug Verified bug by team

Comments

@justin-schroeder
Copy link
Member

List children automatically have their name assigned by their index. However, these "undefined" names actually throw an exception when applied to a validation rule.

https://formkit.link/8191760232be942608ff0b41b8b32b0e

(check the console)

This is resolved if you provide a validation-label prop, but we should have a "fallback" for cases like this — some hyper generic word like "Field" or "Input".

@justin-schroeder justin-schroeder added the 🐛 bug Verified bug by team label Dec 3, 2021
@justin-schroeder justin-schroeder self-assigned this Dec 3, 2021
@justin-schroeder
Copy link
Member Author

Fixed in alpha.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team
Projects
None yet
Development

No branches or pull requests

1 participant