I have a problem when i am using a directive with InputText.
It is not working.
I am using the follow code:
Vue.directive('uppercase', {
update (el) {
el.value = el.value.toUpperCase()
},
})
<InputText type="text" v-model="valueSearch" v-uppercase />
When i use the simple input like the code below, it work:
<input v-model="valueSearch" v-uppercase/>
Are there someone with the same problem to help me ?
Thanks.
Vue.directive not working with InputText
-
- Prime
- Posts: 18478
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
That is strange, could you please create a ticket at our github issues so our team reviews it.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest