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

feat: Client-side CustomEvent for the form element #294

Open
ayoayco opened this issue Mar 26, 2023 · 2 comments
Open

feat: Client-side CustomEvent for the form element #294

ayoayco opened this issue Mar 26, 2023 · 2 comments

Comments

@ayoayco
Copy link
Member

ayoayco commented Mar 26, 2023

We can use CustomEvent to allow users to attach callbacks when validation is triggered

@ayoayco ayoayco changed the title feat: Client-side custom validation event for the form element feat: Client-side CustomEvent for the form element Mar 26, 2023
@Icyscools
Copy link
Member

Is it a same as #268?

@ayoayco
Copy link
Member Author

ayoayco commented Mar 26, 2023

@Icyscools Ah nope but I see they do look similar. I will clarify the descriptions later. This one is for allowing users to subscribe to validation events (when form becomes invalid) the other is for users to give their own custom logic for validation.

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

2 participants