Skip to main content
Version: 1.0.5

IFieldConfig

@spartanfx/react v1.0.5


@spartanfx/react / IFieldConfig

Interface: IFieldConfig

Represents the configuration of an additional field rendered within the confirmation dialog.

Properties

PropertyTypeDescription
defaultValue?anyOptional default value for the field.
disabled?booleanOptional parameter to set the field as disabled - Ignored if 'hidden' is set to true
fieldLabelstringDisplay label for the field.
fieldNamestringInternal name of the field (used as a key).
fieldTypeFieldTypeType of input field to render (text, date, etc.).
hidden?booleanOptional parameter to hide the field - If true the default value will be returned
options?IComboBoxOption[]Optional list of options (used with choices, multichoices and 'radio').
required?booleanIndicates whether the field is required for submission.