-
From the available docs it is not clear how to attach change listeners to the Looking at the source there seems there is one private For the time being I am attaching listeners to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes you would listen to the native input events. The benefit of projecting the input is it allows it to work like any other native html input. If you are using angular you can use angular forms or the event binding on the native change event. https://stackblitz.com/edit/node-lckcvh?file=src%2Fapp%2Fapp.component.html https://coryrylan.com/blog/building-forms-with-angular-and-clarity-design |
Beta Was this translation helpful? Give feedback.
Yes you would listen to the native input events. The benefit of projecting the input is it allows it to work like any other native html input. If you are using angular you can use angular forms or the event binding on the native change event.
https://stackblitz.com/edit/node-lckcvh?file=src%2Fapp%2Fapp.component.html
https://coryrylan.com/blog/building-forms-with-angular-and-clarity-design