Datepicker: Sets inner value but doesn't update input field
Closed this issue · 0 comments
Foteno commented
Bug already reported?
- I confirm that I have checked if the bug already has been reported
For which framework/library you are reporting the bug
Angular
Component name
datepicker
Description
Datepicker sets year value, when day wasn't chosen in the calendar dropdown and Input component isn't updated. Minimal repo https://github.com/Foteno/datepicker-example
Steps To Reproduce
- Press the calendar dropdown button
- Choose another year
- Click off the dropdown (outside it) so it closes
- Notice that Year was set (console.log), but Input field isn't updated for the year
Current Behaviour
Year isn't updated in the input field, but inner value is changed
Expected Behaviour
Either:
- Input field is updated OR
- inner value isn't changed