Closed nagasudhakarch closed 3 years ago
Hello @nagasudhakarch
Try to set the inputFieldValidation option to false.
Hi kekeh, I tried that option but no luck. With inputFieldValidation option in the input field it is showing 00.00.2010 only. But the control value is getting changed to 04.11.2010. Please check sample at - https://stackblitz.com/edit/angular-puxw3k?file=src%2Fapp%2Fapp.component.html
Hello @nagasudhakarch
I fixed the bug. Install new version of the component: 0.11.2.
Try fixed version here: https://stackblitz.com/edit/angular-2oljde?file=src%2Fapp%2Fapp.component.ts
Now you can keep default value of inputFieldValidation.
Hi Kekeh, The fix is working fine. Thank you for the fix. But I found one more issue, if I make the inputFieldValidation option false and enter date manually dateChanged event not getting triggered even for valid Date.
Thanks, Sudhakar
If you want that dateChanged is triggered on blur event of input box you have to set inputFieldValidation to true.
in any of the Date formats if the date & months entered as ZEROs, the date & month defaulting to current. For ex-
Issue is happening here (https://kekeh.github.io/angular-mydatepicker/) also.