IListFormDecimalNumberProps
@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
| Property | Type | Description |
|---|---|---|
field | IFieldInfo | The SharePoint field definition object. |
formStateKey | string | The key used in the form state object, matching the field's internal name. |
listFormContext | IListFormContext | The full list form context for accessing state, validation, etc. |
numberOfDecimalPlaces | number | Number of decimal places to allow and enforce in the input field. |
Options
Events & callbacks
| Property | Type | Description |
|---|---|---|
onChange? | (newValue, oldValue?) => void | Optional callback triggered when the field value changes. |
Advanced & escape hatches
| Property | Type | Description |
|---|---|---|
controlProps? | any | Props passed directly to the underlying field control. |