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

Prop modifier for v-model #140

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add object prop model unresolved question
  • Loading branch information
CyberAP authored Mar 29, 2020
commit b70cbe2252fc51c18b3c6d0f5a3e138953adc635
10 changes: 10 additions & 0 deletions active-rfcs/0000-props-model.md
Original file line number Diff line number Diff line change
@@ -140,3 +140,13 @@ An alternative `event` modifier name could be considered to better indicate a ty
# Adoption strategy

No migration steps required.

# Unresolved questions

## Object prop models

When used with an object prop model should it emit an `update:object.prop` event, or `update:object` with the whole object containing an updated prop?

```html
<Foo v-model.prop="obj.value" />
```