Topic: MdInput and MdTextarea v-model binding
Philip Keiter asked 7 years ago
woj.borowy pro answered 6 years ago
Mikołaj Smoleński staff commented 6 years ago
You can now get input values by listening to onChange event. Best Regardswoj.borowy pro commented 6 years ago
Would you be so kind to give a quick example? I tried to v-on:onChange="exampleMethod" on the md-input and then get the value with exampleMethod but it does not work. Thanks in advance for any hints.Jakub Mandra staff premium commented 6 years ago
<mdb-input type="text" @input="getInputValue" label="Basic example"/> methods: { getInputValue (value) { console.log(value); } }woj.borowy pro commented 6 years ago
Thanks a lot. Have a good day.Mikołaj Smoleński staff answered 7 years ago
Philip Keiter answered 7 years ago
Mikołaj Smoleński staff commented 7 years ago
Thanks a lot! We've merged Your fixes with the github repo and we're going to add them also to the pro version. RegardsClosed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes