I have a model where I have a list of all countries as below -
[{"code":"US", "name":"USA"}]
selected counties will be pass on as a list like below -
["US", "CA"]
my template has a list of checkboxes like below -
<label class="checkbox-inline"></label>
the code above doesn't work as intended and I am trying to figure out how to configure the checkbox to achieve what I need. Any ideas?
Aucun commentaire:
Enregistrer un commentaire