You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.
I've found a problem when i use the datepicker with endDate. If endDate is defined, i can't set the date manually via input. The problem occurs when i clear the input with backspace, then i try to digit "1" (because i want to set date 15/02/2016), and the component auto change the value of input to the current date, not allowing me to set the correct date.
In my case, i have two scenarios: When i have a parameter of my application enabled, users can select future dates, then i set endDate to Infinity. When the parameter is disabled, the endDate is the current date. The problem occurs in both scenarios.
I've check the component and debugged, it seems that the problem occurs when you call this._updateDatepicker() inside the endDate observer, and i don't know why this observer is called every time i change the input value. If i comment this line, it works fine.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi guys!
I've found a problem when i use the datepicker with endDate. If endDate is defined, i can't set the date manually via input. The problem occurs when i clear the input with backspace, then i try to digit "1" (because i want to set date 15/02/2016), and the component auto change the value of input to the current date, not allowing me to set the correct date.
In my case, i have two scenarios: When i have a parameter of my application enabled, users can select future dates, then i set endDate to Infinity. When the parameter is disabled, the endDate is the current date. The problem occurs in both scenarios.
I've check the component and debugged, it seems that the problem occurs when you call this._updateDatepicker() inside the endDate observer, and i don't know why this observer is called every time i change the input value. If i comment this line, it works fine.
The text was updated successfully, but these errors were encountered: