Skip to content

@vttforge/core / NumberPromptField

Interface: NumberPromptField ​

Extends ​

  • PromptFieldBase

Properties ​

hint? ​

readonly optional hint?: string

Hint under the input, as a localization key or text.

Inherited from ​

PromptFieldBase.hint


label ​

readonly label: string

Label, as a localization key or text.

Inherited from ​

PromptFieldBase.label


max? ​

readonly optional max?: number


min? ​

readonly optional min?: number


name ​

readonly name: string

The key in the result, and the input's name.

Inherited from ​

PromptFieldBase.name


step? ​

readonly optional step?: number | "any"

Default 1. 'any' allows decimals.


type ​

readonly type: "number"


value? ​

readonly optional value?: number

MIT licensed.