diff --git a/core/modules/system/js/system.date.js b/core/modules/system/js/system.date.js index 2266599..ad3c60a 100644 --- a/core/modules/system/js/system.date.js +++ b/core/modules/system/js/system.date.js @@ -37,9 +37,9 @@ /** * On given event triggers the date character replacement. */ - $source.on('formUpdated.formDate', dateFormatHandler) + $source.on('keyup.dateFormat change.dateFormat input.dateFormat', dateFormatHandler) // Initialize preview. - .trigger('formUpdated'); + .trigger('keyup'); } };