Mithun Pradhan

Mithun Pradhan

  • 1.6k
  • 150
  • 20.6k

After saving the data not selected dropdown

Jun 8 2022 6:11 AM

After saving the dropdown value the item is not selected . bydefault its selected   --Select--

<select class="form-select" asp-for="TestViewModel.IsAvailable">
       <option value="">--Select--</option>
       <option value="true">Yes</option>
       <option value="false">No</option>
  </select>


Answers (1)