formio / ngFormio

JSON powered form rendering library for AngularJS + Form.io.

Home Page:http://formio.github.io/ngFormio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onChange event for dropdown

h123eranga opened this issue · comments

How to use onChange event in ngFormio library. Its available only for js and angular 2, 4. What is the syntax to use onChnage for formio.

js
form.on("change", (change)=>{

});

Same issue here.

Well, looking at the spec for events: https://github.com/formio/ngFormio/wiki/Responding-to-Form-Events
it would seem that there is no way to listen to "change" event in ngFormio. I also would like to know if/how one can listen to that event. Also (but maybe it should be a separate issue) I would like to know how can I get handle on the native formio object from withing ngFormio (which would enable me to listen to the "change" on that object in a pretty straightforward way of course).

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!