mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-17 11:58:10 +00:00
Fixes selected property on selector component for ember
This commit is contained in:
parent
bd8799b968
commit
5fc821064d
@ -1,7 +1,7 @@
|
||||
{{log 'TODO: Add label'}}
|
||||
<select class={{class}} {{action 'change' on='change'}}>
|
||||
{{!-- TODO: DSS-6122 Add label for select--}}
|
||||
<select class={{class}} {{action "change" on="change"}} disabled={{disabled}}>
|
||||
{{#each content as |option|}}
|
||||
<option value="{{option.value}}" selected={{if option.isSelected 'selected' ''}}>
|
||||
<option value="{{option.value}}" selected={{option.isSelected}}>
|
||||
{{if option.label option.label option.value}}
|
||||
</option>
|
||||
{{/each}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user