create users through admin page
This commit is contained in:
@@ -3,6 +3,12 @@ import type { HTMLAttributes } from 'vue'
|
||||
import { useVModel } from '@vueuse/core'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const domRef = ref<HTMLInputElement>();
|
||||
|
||||
defineExpose({
|
||||
domRef,
|
||||
});
|
||||
|
||||
const props = defineProps<{
|
||||
defaultValue?: string | number
|
||||
modelValue?: string | number
|
||||
@@ -21,6 +27,7 @@ const modelValue = useVModel(props, 'modelValue', emits, {
|
||||
|
||||
<template>
|
||||
<input
|
||||
ref="domRef"
|
||||
v-model="modelValue"
|
||||
data-slot="input"
|
||||
:class="cn(
|
||||
|
||||
Reference in New Issue
Block a user