Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Consider allowing select.value & option.value bound value to be object-valued #1

@rafaelw

Description

@rafaelw

The idea here is that it's often useful to have a selector whose value is a domain object.

IOW

model = {
  users: [{ name: 'Bob', id: 1}, { name: 'Sally', id: 2}];
  selected: undefined
}
<select value={{ selected }}>
  <option template repeat="{{ user in users }}" value="{{ user }}">{{ user.name }}</option>
</select>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions