label was not correctly linked to drop-down
This commit is contained in:
@@ -471,7 +471,7 @@ Vue.component('search-bar', {
|
||||
<form id="search-bar" v-on:submit.prevent.stop>
|
||||
<search-bar-query v-bind="{ 'searchBar': searchBar }"></search-bar-query>
|
||||
<div id="filter-bar">
|
||||
<label for="search-group-by-0">Group:</label>
|
||||
<label for="groupByKeys0">Group:</label>
|
||||
<group-by-item
|
||||
v-for="item in searchBar.groupByKeys"
|
||||
v-bind:key="item.id"
|
||||
@@ -601,7 +601,7 @@ var rootView = new Vue({
|
||||
|
||||
for (var i = 0; i < 3; i++){
|
||||
self.searchBar.groupByKeys.push({
|
||||
'id': i,
|
||||
'id': 'groupByKeys'+i,
|
||||
'selected': groupByDefaults[i] ? groupByDefaults[i] : '',
|
||||
'options': options
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user