Closed Gnoc closed 4 years ago
Hello, good day. I registered the event but it didn't work, below is my code.
env: "vue": "^2.5.17", "vuetify": "^1.3.12", "v-currency-field": "^3.0.6",
main.js import VCurrencyField from 'v-currency-field' Vue.use(VCurrencyField, { decimalLength: 0, autoDecimalMode: true, min: null, max: null, })
Usage: <v-currency-field label="% giảm giá" v-model="product.SalePercent" class="text-right" append-icon="%" @keyup="salePercentInput" @blur="salePercentInput" ref="test2" data-vv-name="% giảm giá" :error-messages="errors.collect('% giảm giá')" v-validate="'max_value:100'" />
methods: salePercentInput: function () { alert(); },
Thanks
Same here
Fixed on 3.0.7
@phiny1 I'm still unable to use @keyup with v3.1.0. keydown/keypress work.
Hello, good day. I registered the event but it didn't work, below is my code.
env: "vue": "^2.5.17", "vuetify": "^1.3.12", "v-currency-field": "^3.0.6",
main.js import VCurrencyField from 'v-currency-field' Vue.use(VCurrencyField, { decimalLength: 0, autoDecimalMode: true, min: null, max: null, })
Usage: <v-currency-field label="% giảm giá" v-model="product.SalePercent" class="text-right" append-icon="%" @keyup="salePercentInput" @blur="salePercentInput" ref="test2" data-vv-name="% giảm giá" :error-messages="errors.collect('% giảm giá')" v-validate="'max_value:100'" />
methods: salePercentInput: function () { alert(); },
Thanks