Open gmengi opened 4 years ago
ok, Is there anyway even if I can disable date selection not month and year?
You can disable only the year and the month selection views not the date selection view. If you are searching a month/year picker this component is not right for that purpose.
I already integrated this component, As this is a perfect fit for my requirement but only I need to month/year selection sometimes. Can you recommend me best one for month/year if you are aware of it?
Hi keheh, As i had used inline angular-mydatepicker also kept inputFieldValidation is TRUE. but even i can't see any validation happen.
Validation occurs on BLUR event from the input element: https://github.com/kekeh/angular-mydatepicker/blob/master/projects/angular-mydatepicker/src/lib/angular-mydatepicker.input.ts#L120
If the date is valid (match to the format of date given in options) it calls dateChanged callback.
This option has no effect on inline mode because there is not input element visible.
You have to select also a date. You cannot hide the date selection.