forked from q2ebanking/ember-select-light
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Is your feature request related to a problem? Please describe.
Not really, it would just be convenient.
Describe the solution you'd like
It'd be nice to be able to use named blocks instead of @displayKey
to show what the value should look like, something like:
<SelectLight
@value={{this.selected}}
@options={{this.options}}
@change={{this.handleChange}}
>
<:option as |value|>
{{value.name}}
</option>
<SelectLight>
class MyComponent extends Component {
options = [{
id: 1,
name: "turtle",
}, {
id: 2,
name: "mako",
}];
@tracked selected = this.options[0];
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers