The props for the DictField component.
Props for the IDictField component.
Optionaldescription?: stringThe description of the field.
OptionaldictCreateButton?: anyThe button to create a new item in the dictionary.
OptionaldictDelay?: numberThe delay between input and dictionary search.
OptionaldictLimit?: numberThe limit of items shown in the dictionary.
OptionaldictOnAppend?: (The function called when an item is appended to the dictionary.
OptionaldictOnItem?: (The function called when a dictionary item is selected.
OptionaldictOnText?: (The function called when the text of a dictionary item is updated.
OptionaldictSearch?: (The search function for the dictionary.
OptionaldictSearchItem?: anyThe item being searched in the dictionary.
OptionaldictSearchText?: (data: Data, payload: Payload) => string | Promise<string>The text being searched in the dictionary.
OptionaldictValue?: (The selected value from the dictionary.
Optionaldisabled?: booleanWhether the field should be disabled.
OptionalgroupRef?: (element?: null | HTMLDivElement) => voidThe ref for the group element.
OptionalinputAutocomplete?: "new-password" | "on" | "off" | "false"The autocomplete option for the input.
OptionalinputFormatter?: (input: string) => stringThe function to format the input value.
OptionalinputFormatterAllowed?: RegExp | (char: string, idx: number) => booleanThe allowed characters for formatting.
OptionalinputFormatterReplace?: (char: string) => null | stringThe replace option for formatting.
OptionalinputFormatterSymbol?: stringThe symbol used for formatting.
OptionalinputFormatterTemplate?: stringThe template for formatting.
OptionalinputMode?: "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal"The input mode.
OptionalinputPattern?: stringThe regex pattern for input validation.
OptionalinputRef?: (element?: null | HTMLInputElement) => voidThe ref for the input element.
OptionalinputType?: The type of input element.
OptionalleadingIcon?: anyThe icon element for the leading icon.
OptionalleadingIconClick?: (The function to call when the leading icon is clicked.
OptionalleadingIconRipple?: booleanWhether the leading icon should have ripple effect.
OptionalleadingIconTabIndex?: numberOptionaloutlined?: booleanWhether the field should be outlined.
Optionalplaceholder?: stringThe placeholder text for the input.
Optionalreadonly?: booleanWhether the field should be read-only.
Optionaltitle?: stringThe title of the field.
OptionaltrailingIcon?: anyThe icon element for the trailing icon.
OptionaltrailingIconClick?: (The function to call when the trailing icon is clicked.
OptionaltrailingIconRipple?: booleanWhether the trailing icon should have ripple effect.
OptionaltrailingIconTabIndex?: numberOptionalvalidation?: IValidationValidation factory config
A component for rendering a DictField.