implemented device name

This commit is contained in:
2025-06-17 16:46:44 +02:00
parent f765d5bdf0
commit e33fa804fa
24 changed files with 1004 additions and 190 deletions

View File

@ -73,13 +73,13 @@
<script setup lang="ts">
import type { ZodSchema } from 'zod'
const input = defineModel<string | number | undefined | null>({
required: true,
})
const inputRef = useTemplateRef('inputRef')
defineExpose({ inputRef })
defineOptions({
inheritAttrs: false,
})
const props = defineProps({
placeholder: {
type: String,
@ -131,11 +131,6 @@ const props = defineProps({
read_only: Boolean,
})
const input = defineModel<string | number | undefined | null>({
default: '',
required: true,
})
onMounted(() => {
if (props.autofocus && inputRef.value) inputRef.value.focus()
})