OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/public/templates/components/toggled_multiselect.html

24 lines
824 B

<div>
<select ng-show="!isMultiselect"
name="v_{{name}}"
ng-model="values"
id="values-{{name}}"
class="select-small"
style="vertical-align: top;"
ng-options="value[1] as value[0] for value in availableFilterValues"
require/>
<select multiple
ng-show="isMultiselect"
name="v_{{name}}"
ng-model="values"
id="values-{{name}}"
class="select-small"
style="vertical-align: top;"
ng-options="value[1] as value[0] for value in availableFilterValues"
require/>
<a alt="Toggle multiselect" href="#" style="vertical-align: bottom;" title="Toggle multiselect" ng-click="toggleMultiselect()">
<img alt="Bullet_toggle_plus" src="/assets/bullet_toggle_plus.png"/>
</a>
</div>