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
Setting up a listener for 'change.dp' as shown in example 8 of the docs will result in the handler function being called twice. Since the second event dispatch lacks the 'date' property, any values being modified in the handler will be set to null.
The problem seems to be in the notifyChange() function (line 263). The call of picker.element.trigger() will dispatch the 'change.dp' event with the correct data. The subsequent call to picker.element.change() triggers the change event again, this time with the date property.
The text was updated successfully, but these errors were encountered:
Important! build.less file name has been been changed to
bootstrap-datetimepicker-build.less to prevent collisions
Fix for #135: setStartDate and setEndDate should now properly set.
Fix for #133: Typed in date now respects en/disabled dates
Fix for #132: En/disable picker function works again
Fix for #117, #119, #128, #121: double event change event issues should
be fixed
Fix for #112: change function no longer sets the input to a blank value
if the passed in date is invalid
Enhancement for #103: Increated the z-index of the widget
Setting up a listener for 'change.dp' as shown in example 8 of the docs will result in the handler function being called twice. Since the second event dispatch lacks the 'date' property, any values being modified in the handler will be set to null.
The problem seems to be in the notifyChange() function (line 263). The call of picker.element.trigger() will dispatch the 'change.dp' event with the correct data. The subsequent call to picker.element.change() triggers the change event again, this time with the date property.
The text was updated successfully, but these errors were encountered: