Skip to content

Document that v-model doesn't work with inheritAttrs #7407

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

Closed
davidhewitt opened this issue Jan 8, 2018 · 1 comment
Closed

Document that v-model doesn't work with inheritAttrs #7407

davidhewitt opened this issue Jan 8, 2018 · 1 comment

Comments

@davidhewitt
Copy link

What problem does this feature solve?

As per #6327 it sounds like a number of people are expecting v-model to work with inheritAttrs / $attrs / $listeners. I was also caught out by this and assumed a bug until I did further googling and found that rejected PR.

I didn't see anything in the docs that suggested to me that what I was trying wouldn't work.

Would it be possible to document that this isn't expected to work, maybe at https://vuejs.org/v2/api/#inheritAttrs ?

I would have made a PR but don't have time to do it right now, perhaps if you assign to me I might get a chance at the weekend.

Cheers,
David

What does the proposed API look like?

N/A

@LinusBorg
Copy link
Member

Issues concerning documentation should be opened in https://github.com/vuejs/vuejs.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants