ion.checkRadio
ion.checkRadio copied to clipboard
Unable init ionCheckRadio when trying to apply to already initiated element
Hello Den,
So, here is the flow:
- Add dynamically the new input.
- Try to apply init ionCheckRadion to all checkbox and radio. Example: http://jsfiddle.net/Stafox/u2L66mdv/
Note: when you try to init ionCheckRadio on new element only - all works as expected: http://jsfiddle.net/Stafox/s3qLjyuj/
Hi, i see. Tnx, for the example, i will check this soon.
You're welcome
Your example had a little bug, that HTML pages don't allow the same ID in multiple elements. I've tinkered with your fiddle a little bit, and a different bug came alive.
http://jsfiddle.net/s3qLjyuj/2/
Only the last added radio button can be checked.