Calendar displayed value not updated on blur #2826
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Counldn't get the p-calendar to work in plunkr at all, but the bug is also in your demo page:
https://www.primefaces.org/primeng/#/calendar
Current behavior
When you type something that isnt a date like 'asdf' into an empty p-calendar and press tab (or click somewhere else, so the p-calendar input looses focus), then the input isn't cleared.
Expected behavior
The clearing of the input should work.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Because it is a bug. Also with the ultima layout the label will then be over the typed in text.
Angular version: 2.4.X and 4.0.X
PrimeNG version: 2.0.5 and the one on your demo page
The text was updated successfully, but these errors were encountered: