Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

NumberOptions

Options of a decimal number field.

optional decimals?: number

Shown decimals; 3 by default.


optional disabled?: boolean

Shows the widget grayed out; it ignores the user.

RangeOptions.disabled


optional error?: string | null

Why the field’s value is wrong, shown under it in red; empty or absent for none. See Ui.form for forms that keep refused input. Needs the "formValidation" feature.

RangeOptions.error


optional id?: string

Identifies the widget within its section, tab or column instead of its label.

RangeOptions.id


optional max?: number

RangeOptions.max


optional min?: number

RangeOptions.min


optional tip?: string

Shown while the widget is hovered.

RangeOptions.tip