Skip to main content
Version: 1.0.0

Interface: NumberFieldConfig

Hierarchy​

Properties​

Field​

• Optional Field: ComponentType<FieldProps<number, any, any>>

If you need to render a custom field, you can create a component that takes FieldProps as props. You receive the value, a function to update the value and additional utility props such as if there is an error. You can customize it by passing custom props that are received in the component.

Inherited from​

FieldConfig.Field

Defined in​

models/properties.ts:531


Preview​

• Optional Preview: ComponentType<PreviewComponentProps<number, any>>

Configure how a property is displayed as a preview, e.g. in the collection view. You can customize it by passing custom props that are received in the component.

Inherited from​

FieldConfig.Preview

Defined in​

models/properties.ts:538


customProps​

• Optional customProps: any

Additional props that are passed to the components defined in field or in preview.

Inherited from​

FieldConfig.customProps

Defined in​

models/properties.ts:544


enumValues​

• Optional enumValues: EnumValues

You can use the enum values providing a map of possible exclusive values the property can take, mapped to the label that it is displayed in the dropdown.

Defined in​

models/properties.ts:724

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!