@serenity-is/corelib / EditorProps
Type Alias: EditorProps<T>
EditorProps<
T> =WidgetProps<T> &object
Defined in: src/ui/editors/editorwidget.ts:8
Props for editor widgets, extending widget props with editor-specific options.
Type Declaration
initialValue?
optionalinitialValue:any
Initial value for the editor.
maxLength?
optionalmaxLength:number
Maximum input length.
name?
optionalname:string
Field name.
placeholder?
optionalplaceholder:string
Placeholder text.
readOnly?
optionalreadOnly:boolean
Whether the editor is read-only.
required?
optionalrequired:boolean
Whether the field is required.
Type Parameters
T
T
Widget props type.