i am trying to set variable name to input value so the datatest selector value is same when value is entered in input box. if i currently use value=item.name
it displays the name in input box. i juzt want value to be set as variable name when value in input entered it is also assigned to data-test-selector. like old code as shown below.
Trying to use dynamically using each
<input id= maxlength="15" class="form-control" data-test-License= value=item.name/>
old code
Aucun commentaire:
Enregistrer un commentaire