Password Input
Display a specialised password text input.
Usage
A CTextInput
wrapped component with added visibility functionality. The child input will inherit all props.
<script lang="ts" setup>
const passwordInput = ref('password123')
</script>
<template>
<CPasswordInput
v-model="passwordInput"
placeholder="Enter password"
label="Password"
/>
</template>
Disabled
<template>
<CPasswordInput disabled model-value="password123" placeholder="Placeholder" />
</template>
Props
modelValue
string
disabled
boolean