Skip to content
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

Feature request: shorthand bindable attributes #5068

Closed
neves opened this issue Mar 2, 2017 · 1 comment
Closed

Feature request: shorthand bindable attributes #5068

neves opened this issue Mar 2, 2017 · 1 comment

Comments

@neves
Copy link

neves commented Mar 2, 2017

Suppose the follow declaration inside a component:

<input :value="value" :readonly="readonly" :disabled="disabled" :maxlength="maxlength">

My feature suggestion is a shorthand declaration for when the attribute is bound to a property with same name, so the code above could be written like this:

<input :value :readonly :disabled :maxlength>

The same could be for v-on

@sqal
Copy link
Contributor

sqal commented Mar 2, 2017

It has been proposed #2877

@neves neves closed this as completed Mar 2, 2017
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