Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Unable init ionCheckRadio when trying to apply to already initiated element #17

Open
Stafox opened this issue Jun 23, 2015 · 3 comments
Assignees
Labels

Comments

@Stafox
Copy link
Contributor

Stafox commented Jun 23, 2015

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/

@IonDen
Copy link
Owner

IonDen commented Jun 23, 2015

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

@IonDen IonDen added the bug label Jun 23, 2015
@IonDen IonDen self-assigned this Jun 23, 2015
@Stafox
Copy link
Contributor Author

Stafox commented Jun 23, 2015

You're welcome

@tpaksu
Copy link

tpaksu commented Sep 6, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants