mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
1. Modals wrapped 2. Toolbar icon actions: click and link-to navigation 3. Moved components into sub-folders 4. Replaced Bootstrap Tooltip and Dropdown libs with Ember specific add-ons And more. Co-Authored-By: Saul S <sauls8t@users.noreply.github.com> Co-Authored-By: McMatts <matt@documize.com>
12 lines
458 B
Handlebars
12 lines
458 B
Handlebars
<select {{action "change" on="change"}} class="form-control {{cssClass}}" readonly={{readonly}}>
|
|
{{#if prompt}}
|
|
<option disabled selected={{is-not selection}}>
|
|
{{prompt}}
|
|
</option>
|
|
{{/if}}
|
|
{{#each content key="@identity" as |item|}}
|
|
<option value={{read-path item optionValuePath}} selected={{is-equal item selection}}>
|
|
{{read-path item optionLabelPath}}
|
|
</option>
|
|
{{/each}}
|
|
</select>
|