As per the title, in my CRUD application, the date set in the Create View (via Jquery datepicker) is not remembered when I edit records.
Here is my code for the DOB field in my Create View:
<div class="form-group">
<label asp-for="DateOfBirth" class="control-label"></label>
<p><input type="text" id="datepicker"></p>
</div>
Here is my code for the DOB field in my Edit View:
<div class="form-group">
<label asp-for="DateOfBirth" class="control-label"></label>
<p><input type="text" id="datepicker"></p>
</div>
The Edit (get) Method does seem to have the correct DOB before it passes the entity to the view:
I am unsure how to sort of pass values through.
Any help will be appreciated, thanks