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

26 lines
898 B

<div>
<select ng-show="!isMultiselect"
name="v[{{name}}][]"
ng-model="values"
id="values-{{name}}"
class="select-small"
style="vertical-align: top;"
require>
<option ng-repeat="value in availableFilterValues" value="{{ value[1] }}">{{ value[0] }}</option>
</select>
<select multiple
ng-show="isMultiselect"
name="v[{{name}}][]"
ng-model="values"
id="values-{{name}}"
class="select-small"
style="vertical-align: top;"
require>
<option ng-repeat="value in availableFilterValues" value="{{ value[1] }}">{{ value[0] }}</option>
</select>
<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>