Skip to main content

IListFormDecimalNumberProps

@spartanfx/react v1.2.2


@spartanfx/react / spfx / IListFormDecimalNumberProps

Interface: IListFormDecimalNumberProps

Props for the ListFormDecimalNumber component.

Extends IListFormFieldRendererProps to provide support for rendering and managing a decimal number input field in a SharePoint list form.

Extends

Properties

Required

PropertyTypeDescription
fieldIFieldInfoThe SharePoint field definition object.
formStateKeystringThe key used in the form state object, matching the field's internal name.
listFormContextIListFormContextThe full list form context for accessing state, validation, etc.
numberOfDecimalPlacesnumberNumber of decimal places to allow and enforce in the input field.

Options

PropertyTypeDescription
disabled?booleanWhether the field is disabled. Overrides form-level settings.
readonly?booleanIf true, renders the field in readonly mode without user interaction.
required?booleanWhether the field is required.

Events & callbacks

PropertyTypeDescription
onChange?(newValue, oldValue?) => voidOptional callback triggered when the field value changes.

Advanced & escape hatches

PropertyTypeDescription
controlProps?anyProps passed directly to the underlying field control.