-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button enter click, clear field #1039
Milestone
Comments
I had the same issue. |
Also have this issue. |
I had the same issue.. Solution ? |
In my reality, I do not use the feature "multidate" So I just commented the line 1205 of the file. As shown below ...
case 13: // enter
focusDate = this.focusDate || this.dates.get(-1) || this.viewDate;
//Commented line due to the bug hit "enter" to date was clean
//this._toggle_multidate(focusDate);
dateChanged = true;
this.focusDate = null;
this.viewDate = this.dates.get(-1) || this.viewDate;
this.setValue();
this.fill();
if (this.picker.is(':visible')) {
e.preventDefault();
if (this.o.autoclose)
this.hide();
}
break;
... It's ugly I know, but it worked for me and I can not wait for a version correcting it. |
#1046 here is the PR with a fix |
Fixed in #984 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a question. Put the datapicker, and the user enters the field tells the date and click on enter. I did not want the field to be cleaned, but in my case it clean.
What setting should I use for this not to happen?
The text was updated successfully, but these errors were encountered: