Add a alias for v-model
See original GitHub issuePlease add a alias for v-model like @click or :bind
My suggestion: “m”
Example
<input type="text" m="user.name"/>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"You are binding v-model directly to a v-for iteration alias ...
The message is telling you that you can't directly modify a v-for alias (which run is).
Read more >Built-in Directives - Vue.js
The directive's value must use the special syntax alias in expression to provide an ... preventDefault() . .capture - add event listener in...
Read more >Add or remove an email alias in Outlook.com - Microsoft Support
Go to Add an alias. Sign in to your Microsoft account, if prompted. · Under Add an alias, do one of the following:...
Read more >mdb-select does not work with v-model and @change event
Hi. I have problems using v-model and @change event when using mdb-select. As you can see in the code below I have several...
Read more >v-model implementation in Vue.js 3 - hinty
In Vue3, alias for v-model, e.g.: is prop `modelValue` + event `@update:modelValue` :
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue was closed over three years ago.
v-model
is sufficient.I think this could be useful. To do something like
$property
to bind any property vue instance in the form of a model? So instead ofv-model="name"
one would simply do$name
.I’d be glad to work on this as a PR.