refactor(02): use new toggle button

This commit is contained in:
puriphatt 2024-08-13 08:55:49 +00:00
parent 415aa4bc87
commit b4c01c7c28
3 changed files with 31 additions and 32 deletions

View file

@ -13,7 +13,8 @@ import { useI18n } from 'vue-i18n';
const { locale } = useI18n();
const optionStore = useOptionStore();
const prefixNameTh = defineModel<string>('prefixName');
const prefixName = defineModel<string>('prefixName');
const prefixNameEn = defineModel<string>('prefixNameEn');
const firstName = defineModel<string>('firstName');
const lastName = defineModel<string>('lastName');
const firstNameEN = defineModel<string>('firstNameEN');
@ -117,7 +118,7 @@ watch(
map-options
hide-selected
hide-bottom-space
v-model="prefixNameTh"
v-model="prefixName"
input-debounce="0"
option-label="label"
option-value="value"
@ -190,10 +191,11 @@ watch(
:dense="dense"
outlined
hide-bottom-space
disable
:readonly="readonly"
:disable="!readonly"
class="col-1"
:label="$t('formDialogInputPrefixName')"
v-model="firstName"
v-model="prefixNameEn"
/>
<q-input