mirror of https://github.com/rancher/api-ui.git
Fix filters with array of value options
This commit is contained in:
parent
bc5d4e6218
commit
c3d294040d
|
|
@ -35,7 +35,7 @@
|
||||||
<select id="filter_{{cur.id}}_value">
|
<select id="filter_{{cur.id}}_value">
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
{{#eachProperty thisFilterSchema.options}}
|
{{#eachProperty thisFilterSchema.options}}
|
||||||
<option value="{{key}}" {{#ifEqual key cur.value}} SELECTED{{/ifEqual}}>{{key}}</option>
|
<option value="{{value}}" {{#ifEqual value cur.value}} SELECTED{{/ifEqual}}>{{value}}</option>
|
||||||
{{/eachProperty}}
|
{{/eachProperty}}
|
||||||
</select>
|
</select>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue