Add admin user edit flow
This commit is contained in:
@@ -11,6 +11,8 @@ const props = defineProps<{
|
||||
class?: HTMLAttributes['class'];
|
||||
}>();
|
||||
|
||||
const model = defineModel<string | number | null>();
|
||||
|
||||
const showPassword = ref(false);
|
||||
const inputRef = useTemplateRef('inputRef');
|
||||
|
||||
@@ -24,6 +26,7 @@ defineExpose({
|
||||
<div class="relative">
|
||||
<Input
|
||||
ref="inputRef"
|
||||
v-model="model"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
:class="cn('pr-10', props.class)"
|
||||
v-bind="$attrs"
|
||||
|
||||
Reference in New Issue
Block a user