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 v-model="value" placeholder="Placeholder" />
</template>

    

Props

Prop Default Type
modelValue string
disabledboolean