ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5

Home Page:https://adminlte.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

unluckychild opened this issue · comments

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>

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