diff --git a/src/components/CurruncyInput.vue b/src/components/CurruncyInput.vue index 8d535b1ce..89d371935 100644 --- a/src/components/CurruncyInput.vue +++ b/src/components/CurruncyInput.vue @@ -13,8 +13,8 @@ :borderless="!edit" hide-bottom-space > - @@ -37,9 +37,9 @@ const props = defineProps({ }); const { inputRef, formattedValue, setValue } = useCurrencyInput({ - locale: "en-US", - currency: "EUR", - // currencyDisplay: "hidden", + locale: "th-TH", + currency: "THB", + currencyDisplay: "hidden" as any, hideCurrencySymbolOnFocus: true, hideGroupingSeparatorOnFocus: true, hideNegligibleDecimalDigitsOnFocus: true, @@ -50,7 +50,7 @@ const { inputRef, formattedValue, setValue } = useCurrencyInput({ watch( () => props.modelValue, - (value) => { + (value: any) => { setValue(value); } );