0
kpmg created
<input type="datetime" datePicker [(selectedDate)]="notificationDate" id="notificationDate" name="notificationDate" required>
The control is not validated even though it contains "required". Inside the directive ngModel is not updated Do we have to use a workaround with selectedDateChange and a dummy ngModel Binding?
1 Answer(s)
-
0
Hi @christianw
I think you are using Angular version. We have removed this directive (datePicker), you can use one of the below datepickers in your app.
https://valor-software.com/ngx-bootstrap/#/datepicker https://www.primefaces.org/primeng/#/calendar
We are using ngx-bootstrap's datepicker but considering changing it if we can find a better Angular alternative.