Skip to main content
Version: 1.1.0

IListFormDecimalNumberProps

@spartanfx/react v1.1.0


@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

PropertyTypeDescriptionInherited from
controlProps?anyProps passed directly to the underlying field control.IListFormFieldRendererProps.controlProps
disabled?booleanWhether the field is disabled. Overrides form-level settings.IListFormFieldRendererProps.disabled
fieldIFieldInfoThe SharePoint field definition object.IListFormFieldRendererProps.field
formStateKeystringThe key used in the form state object, matching the field's internal name.IListFormFieldRendererProps.formStateKey
listFormContextIListFormContextThe full list form context for accessing state, validation, etc.IListFormFieldRendererProps.listFormContext
numberOfDecimalPlacesnumberNumber of decimal places to allow and enforce in the input field.-
onChange?(newValue, oldValue?) => voidOptional callback triggered when the field value changes.IListFormFieldRendererProps.onChange
readonly?booleanIf true, renders the field in readonly mode without user interaction.IListFormFieldRendererProps.readonly
required?booleanWhether the field is required.IListFormFieldRendererProps.required