question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a alias for v-model

See original GitHub issue

Please add a alias for v-model like @click or :bind

My suggestion: “m”

Example

<input type="text" m="user.name"/>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
sirlancelotcommented, Jul 12, 2019

This issue was closed over three years ago. v-model is sufficient.

2reactions
shadowcodexcommented, Dec 4, 2017

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 of v-model="name" one would simply do $name.

I’d be glad to work on this as a PR.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found