framework7io / framework7-template-vue-webpack

Deprecated! Framework7 Vue Webpack starter app template with hot-reload & css extraction
https://framework7.io/vue/
MIT License
384 stars 136 forks source link

f7-input v-model issue #56

Closed chandug4u closed 6 years ago

chandug4u commented 6 years ago

I am facing issue with v-model in f7-input. Below is the error that I am getting "Invalid prop: type check failed for prop "value". Expected String, Number, Array, got InputEvent."

Steps to reproduce

1) Download framework7-template-vue-webpack 2) Install npm packages with "npm install" 2) Edit about.vue page to add below input element

3) Add script block to about.vue as below

Run the app and navigate to about page, we get the value in textbox as "[object InputEvent]" and in the console window it gives "Invalid prop: type check failed for prop "value". Expected String, Number, Array, got InputEvent." eror

nolimits4web commented 6 years ago

http://framework7.io/vue/inputs.html#input-v-model

chandug4u commented 6 years ago

Sorry.. my bad... Implemented as per the above link. It is working. Thanks nolimits4web!!