-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Changing VueJS version 2.4.2->2.5.3 breaks the example app #1272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@chrisvfritz Why was the intention by adding |
@posva It's so that the component can be used just like an input component, without the need for |
I think this is actually a bug. It seems that the less specific |
I'm not sure what should be done in this case you could have multiple events, so only taking into account the event of the internal input is not enough. This happens because of v-model extending to an |
I investigated the problem a little more deeply and created an issue to better describe what's happening. Let's continue discussion there, but I'll keep this open until we resolve it one way or another. |
The example code has now been updated to a new pattern we came up with in the above issue. @tehnetaholic Thanks for bringing this to our attention. 🙂 |
Hi.
There is a breaking change in VueJS between 2.4.2 and 2.5.3 versions, which makes one of tutorial examples broken.
The docs page that has this example is here https://vuejs.org/v2/guide/single-file-components.html
The tutorial example is here: https://codesandbox.io/s/o29j95wx9
If you update VueJS to 2.5.3 version, then when you try to input a value in a textbox it gets replaced with
[object InputEvent]
and you get[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, got InputEvent. found in ---> <BaseInputText> at /components/BaseInputText.vue <TodoList> at /components/TodoList.vue <App> at /App.vue <Root>
The text was updated successfully, but these errors were encountered: