-
Notifications
You must be signed in to change notification settings - Fork 159
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
how does the converter work #188
Comments
I am using the el attribute class to set/unset the show / hide..but I still feel that there should be ability to quit the converter when required./ there should be a option to have 1 field deciding the converter value.. |
For age -> year conversion the converter is getting triggered 7 times ..when I set an value in the view
Debugger/Console - when I changed the Yob to 1991
It seems like it is working...But I don't know..how.. |
is this repo active? |
Yes.it is active but I am not near a computer for another week... |
any updates |
Hi @cooolbasha, could you please put your example in a JSFiddle or similar? I want to look into this but it's really hard to follow exactly what you're trying to do. It's definitely possible to show/hide fields based on other model values, but I don't know what you're trying to do and what you're doing so I won't be a lot of help just yet. Please ping me back when you have the code in a JSFiddle and I'll take a look! :-) |
Based on the radio button I wanted to show another field. so I used the converter to bind radio button + selector for the text with the converter. So when the radio button is clicked on, the converter function would call and it will be either hide or show based on the val passed(on/off).
there are couple of issues
why cannot the converter have and option to quit processing based on the return values..as in this case the main intention is to just get the text field displayed.
and why trigger when the other field values change...
The text was updated successfully, but these errors were encountered: