refactor: use i18n and rules input accountNumber

This commit is contained in:
Net 2024-08-16 13:12:06 +07:00
parent 557bef87b4
commit d2100e65f0

View file

@ -202,6 +202,12 @@ watch(
:dense="dense"
:readonly="readonly"
:label="$t('accountNumber')"
:maxlength="13"
:rules="[
(val: string) =>
(val.length >= 7 && val.length <= 13) ||
$t('form.error.please', { msg: $t('accountNumber') }),
]"
/>
<q-input
outlined