Input OTP uses a set of InputText components, refer to the
Key | +Function | +
---|---|
tab | +Moves focus to the input otp. | +
right arrow | +Moves focus to the next input element. | +
left arrow | +Moves focus to the next previous element. | +
Two-way value binding is defined using v-model. The number of characters is defined with the length property, which is set to 4 by default.
+When integerOnly is present, only integers can be accepted as input.
+Enable the mask option to hide the values in the input fields.
+{{ $attrs.description }}
+List of class names used in the styled mode.
+Name | +Element | +
---|---|
p-inputswitch | +Container element. | +
p-inputswitch-checked | +Container element in active state. | +
p-inputswitch-slider | +Slider element behind the handle. | +