PasswordInput

Contents

Preview

Open preview in new tab

Props

Name Description Type Required Reactive Default
htmlElement Native `<input>` element undefined false true null
name Name for the input in forms string false true
valid controls the border color when valid or invalid. `null` resets it to the default color undefined false true null
placeholder placeholder text string false true
text text value in the `<input>` undefined true true
captureEnter send event on enter pressed boolean false true false
showText Toggle to switch to plain text instead of password input. boolean false false false

Slots

iconleft

iconright

Events

focus forwarded

keydown forwarded

keyup forwarded

enterPressed forwarded

click forwarded

iconRightClick forwarded

input forwarded

Documentation generated by sveld