Skip to content

Commit

Permalink
add label to multi select UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Mar 16, 2017
1 parent 64929e5 commit 3df1365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core/uis/multi_select.js
Expand Up @@ -13,7 +13,8 @@ define(['app', 'core/UIComponent', 'core/UIView', 'core/t'], function(app, UICom

var template = '{{#if cb_list}} \
{{#options}} \
<input style="margin-top:1px;display: inline-block;" name="{{key}}" type="checkbox" {{#if selected}}checked{{/if}}/> {{value}} \
<input style="margin-top:1px;display: inline-block;" id="multi_select_{{name}}_{{key}}" name="{{key}}" type="checkbox" {{#if selected}}checked{{/if}}/>\
<label for="multi_select_{{name}}_{{key}}">{{value}}</label> \
{{/options}} \
{{else}} \
<select multiple> \
Expand Down

0 comments on commit 3df1365

Please sign in to comment.