Add admin user edit flow

This commit is contained in:
2026-05-22 13:07:20 +00:00
parent d13e919310
commit a810f54153
8 changed files with 362 additions and 43 deletions
@@ -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"