Skip to content
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

checkbox doesnt work if there is no unique id or label for #5368

Open
unluckychild opened this issue Oct 6, 2023 · 1 comment
Open

checkbox doesnt work if there is no unique id or label for #5368

unluckychild opened this issue Oct 6, 2023 · 1 comment

Comments

@unluckychild
Copy link

I clone these divs via javascript, but they need to have unique label for/id to work. Is there a way to remove ids and still work? I dont want to give cloned ones ids numbers via javascript

<div class="icheck-pink"> <input type="checkbox" id="countable[]" name="countable[]" checked> <label for="countable[]">Countable</label> </div>

@KaranMeghe
Copy link

KaranMeghe commented Oct 25, 2023

if unique id is the issue then we can generate by using uuid package .

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

No branches or pull requests

2 participants