Skip to content

Ability to choose v-model type (object/string/index) #20

@Raiondesu

Description

@Raiondesu

I'm submitting a ...

  • bug report
  • feature request
  • support request

What is the current behavior?

v-model binds only a displayed attribute of an item (i.e. string)

What is the expected behavior?

v-model binds a string (as default), a full item (object) or item's index in the list, depending on some property's value.

The property in question can be named something like v-mode. Or maybe something less ambiguous.

What is the motivation / use case for changing the behavior?

Ability to choose the component mode depending on the circumstances. (Usability)

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions