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

[DataModel] Add an option to emit an input event when the value changes #302

Open
titouanmathis opened this issue Sep 26, 2024 · 0 comments

Comments

@titouanmathis
Copy link
Contributor

This can be useful to trigger other behaviors when working with forms. Another solution would be to emit a custom event on the DataBind component when the value changes, allowing us to react to it with the Action component.

<input type="text" 
  data-component="DataModel Action"
  data-option-on:custom-input="console.log('input has changed')"
  value="...">
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

1 participant