hotfix: make accountNumber to work on blur
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
a66849f361
commit
d122752672
|
@ -8,7 +8,8 @@ const model = defineModel({ prop: 'modelValue' });
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="model"
|
v-model="model"
|
||||||
ref="inputRef"
|
ref="inputRef"
|
||||||
@keydown.tab="model = useAccountShortToStandard($event.target.value) ?? model"
|
@keydown.tab="$refs.inputRef.vnInputRef.blur()"
|
||||||
|
@blur="model = useAccountShortToStandard(model) ?? model"
|
||||||
@input="model = $event.target.value.replace(/[^\d.]/g, '')"
|
@input="model = $event.target.value.replace(/[^\d.]/g, '')"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue