DateEditor
Members
EDITOR_TYPE
DateEditor.EDITOR_TYPE
Returns the unique editor type identifier for the date editor.
Methods
createElements
dateEditor.createElements()
Creates the editor’s textarea element as a native date input.
focus
dateEditor.focus()
Selects all text in the date input element when the editor receives focus.
init
dateEditor.init()
Initializes the editor and registers an afterSetTheme hook to close on theme changes.
open
dateEditor.open()
Opens the editor and programmatically invokes the native date picker via showPicker().
prepare
dateEditor.prepare()
Prepares the editor, replacing the display value with the raw ISO source data for the native date input.
setValue
dateEditor.setValue()
Sets the editor value, falling back to defaultDate when the value is empty, and warns if the value is not a valid ISO date string.