This commit is contained in:
2023-07-26 14:07:17 +03:00
parent 288c5cbb7e
commit 6179e53af7
10 changed files with 77 additions and 54 deletions

View File

@@ -1,5 +1,4 @@
<script setup lang="ts">
import type { PropType } from 'vue'
import { computed } from 'vue'
import UiField from './Field.vue'
@@ -17,7 +16,7 @@ const displayValue = computed({
</script>
<template>
<ui-field tag="select" class="ui-field-select" v-model="displayValue">
<ui-field tag="select" class="ui-field-select">
<option v-for="opt in props.options" :value="opt.value">
{{opt.text}}
</option>