Skip to content

@serenity-is/corelib / DecimalEditorOptions

Interface: DecimalEditorOptions

Defined in: src/ui/editors/decimaleditor.tsx:20

Options for the DecimalEditor.

Properties

allowNegatives?

optional allowNegatives: boolean

Defined in: src/ui/editors/decimaleditor.tsx:30

Whether negative values are allowed.


decimals?

optional decimals: any

Defined in: src/ui/editors/decimaleditor.tsx:26

Number of decimal places.


maxValue?

optional maxValue: string

Defined in: src/ui/editors/decimaleditor.tsx:24

Maximum allowed value as a string.


minValue?

optional minValue: string

Defined in: src/ui/editors/decimaleditor.tsx:22

Minimum allowed value as a string.


padDecimals?

optional padDecimals: any

Defined in: src/ui/editors/decimaleditor.tsx:28

Whether to pad decimals with zeros.