1
Answer

After saving the data not selected dropdown

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)