dimanche 5 avril 2015

Bind radiogroup to displayfield

Hi!



How to bind a radiogroup to a displayfield?



Usually, I use a label, but this component have some limitations and, for that, I want to use a displayfield.

The displayfeld only displays '[object Object]'.



Fiddle:

http://ift.tt/1F3wEHH



One more question:



In the 'item Y' and 'item N', the input value is 'Y' and 'N', but I want in the form 'Viewer' were displayed the values 'Yes' and 'No' (instead of Y and N).



It's possible to do this in a declarative way?

I tried before with label, but this component has not setValue method.



Thanks in advance.





Bind radiogroup to displayfield

Aucun commentaire:

Enregistrer un commentaire