Skip to main content

IDataFormFieldProps

@spartanfx/react v1.2.2


@spartanfx/react / index / IDataFormFieldProps

Interface: IDataFormFieldProps<TValue>

Type Parameters

TValue

TValue extends DataFormValues = DataFormValues

Properties

Required

PropertyTypeDescription
fieldNamestring-

Options

PropertyTypeDescription
dependencies?unknown[]-
description?string-
disabled?boolean-
label?string-
labelStyle?"none" | "inline" | "normal" | "invisible"-
placeholder?string-
readonly?boolean-
rendererKey?string-
required?boolean-
showClearButton?booleanShow a clear button that resets this field's linked formState value.

Events & callbacks

PropertyTypeDescription
onChange?(newValue, oldValue?) => void-
onRenderControl?(props) => ReactElement-
onRenderTooltipContent?() => ReactElement-

Appearance & theming

PropertyTypeDescription
className?string-

Advanced & escape hatches

PropertyTypeDescription
controlProps?Record<string, unknown>-
dateTimePickerProps?IDataFormDateTimePickerProps-