diff --git a/packages/devextreme/js/ui/shared/ui.editor_factory_mixin.js b/packages/devextreme/js/ui/shared/ui.editor_factory_mixin.js index bc73c09becb3..5a458b13bbe5 100644 --- a/packages/devextreme/js/ui/shared/ui.editor_factory_mixin.js +++ b/packages/devextreme/js/ui/shared/ui.editor_factory_mixin.js @@ -51,7 +51,8 @@ const getTextEditorConfig = function(options) { const needDelayedUpdate = options.parentType === 'filterRow' || options.parentType === 'searchPanel'; const isInputOrKeyUpEvent = e.event && (e.event.type === 'input' || e.event.type === 'keyup'); const updateValue = function(e, notFireEvent) { - options && options.setValue(e.value, notFireEvent); + const value = isInputOrKeyUpEvent && e.value === '' ? null : e.value; + options && options.setValue(value, notFireEvent); }; clearTimeout(data.valueChangeTimeout);