[input] How to use v-money3 with <el-input /> (ElementUI)? #10998
leeobrum
started this conversation in
Feature Request
Replies: 3 comments
-
Estou com o mesmo problema usando ts e vue3 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had the same problem, I managed to solve it using this way: In the script with the config: Imports: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I resolved the problem using:
Creating an SCSS compatible with el-input and I open one Issue at component v-money3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Other
Details
input
Description
Hi, I'm migration my project to vue3 and pinia etc... but don't working v-money3 with my template ElementUI. My old project where I used v-money only, is working. Exemple for error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at B (v-money3.mjs:204:19)
el-input v-model.lazy="oFormularioCadastro.dbAluguelEmpresa" v-money3="maskMoneyParam"
script setup lang="ts" const maskMoneyParam = reactive({decimal: ',', thousands: '.', prefix: 'R$ ', suffix: '', precision: 2, masked: false })
Main.ts
import { Money3Directive } from 'v-money3'
const app = createApp(App)
app.directive('money3', Money3Directive)
Additional comments
(empty)
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions