I have implemented the AngularJS ui-date feature and included the following html
& js
code :-
<input id="dob" name="dob" ui-date="dateOptions" class="form-control" ui-date-format="dd-MM-yy" ng-model="user.dob" ng-required="true" readonly>
$scope.dateOptions = {
startingDay: 1,
changeMonth: true,
changeYear: true,
showAnim: "clip",
clearBtn: true
};
However, I am facing an issue with the Datepicker not being editable. How can I clear the value once the user selects a date of birth?
I attempted to use clearBtn
but unfortunately it did not work.