Skip to content

DateEditorParams

Configuration parameters for the built-in date editor.

{ field: 'startDate', type: 'date', editable: true, editorParams: { min: '2024-01-01' } }
PropertyTypeDescription
min?stringMinimum date (ISO string: ‘YYYY-MM-DD’)
max?stringMaximum date (ISO string: ‘YYYY-MM-DD’)
placeholder?stringPlaceholder text when empty
default?string | DateDefault date used when the user clears a non-nullable date column. Accepts an ISO date string ('YYYY-MM-DD') or a Date object. When omitted, today’s date is used as the fallback.
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt