mercredi 29 janvier 2020

getting "Element should have been "select" but was "option" error while fetching data from the drop down

I am trying to select an item from the select dropdown but facing an error

Html :

<select _ngcontent-c8="" class="form-control">
  <option _ngcontent-c8="" value="" ng-reflect-value="">Select Priority</option>
  <option _ngcontent-c8="" value="HIGH" ng-reflect-value="HIGH">HIGH </option> 
  <option _ngcontent-c8="" value="MEDIUM" ng-reflect-value="MEDIUM">MEDIUM</option>
  <option _ngcontent-c8="" value="LOW" ng-reflect-value="LOW">LOW</option>
</select>



Aucun commentaire:

Enregistrer un commentaire