ion.checkRadio icon indicating copy to clipboard operation
ion.checkRadio copied to clipboard

Unable init ionCheckRadio when trying to apply to already initiated element

Open Stafox opened this issue 9 years ago • 3 comments

Hello Den,

So, here is the flow:

  1. Add dynamically the new input.
  2. 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/

Stafox avatar Jun 23 '15 07:06 Stafox

Hi, i see. Tnx, for the example, i will check this soon.

IonDen avatar Jun 23 '15 08:06 IonDen

You're welcome

Stafox avatar Jun 23 '15 09:06 Stafox

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.

tpaksu avatar Sep 06 '16 09:09 tpaksu