My datepicker should be initalized with no inital dates. Using singleDatePicker: true
$scope.datePicker = {
date: {}
};
Everything works fine, setting the date etc. However, initially, the date picker displays the current date (today). How to disable it, so the input field is blank until I select a date?
Using autoUpdateInput: false does not work
If I set my model to null, (datePicker.date = null) it says:
TypeError: Cannot read property 'startDate' of null
My datepicker should be initalized with no inital dates. Using singleDatePicker: true
Everything works fine, setting the date etc. However, initially, the date picker displays the current date (today). How to disable it, so the input field is blank until I select a date?
Using autoUpdateInput: false does not work
If I set my model to null, (datePicker.date = null) it says:
TypeError: Cannot read property 'startDate' of null