Digit Input

Attribute Type Documentation Default Value
Required id * :string
type :string "numeric"
Required characters * :integer

The number of characters in the input

placeholder :string
otp :boolean false
error :boolean false
disabled :boolean false
on_change :string

Event handler for when the input changes. Triggers the event with value `{ value: string[],

Read more Read less
valueAsString: string }`
on_complete :string

Event handler for when the input is complete. Triggers the event with value `{ value: string[],

Read more Read less
valueAsString: string }`
on_invalid :string

Event handler for when the input is invalid. Triggers the event with value `{ value: string[],

Read more Read less
valueAsString: string }`
rest :global