catalog item type dropdown show limit #1041
This commit is contained in:
parent
4f2ca4af05
commit
fa47c15d7a
|
@ -37,7 +37,7 @@ module.exports = Self => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
Self.catalogFilter = async (orderFk, orderBy, filter, tags) => {
|
Self.catalogFilter = async(orderFk, orderBy, filter, tags) => {
|
||||||
let conn = Self.dataSource.connector;
|
let conn = Self.dataSource.connector;
|
||||||
const stmts = [];
|
const stmts = [];
|
||||||
let stmt;
|
let stmt;
|
||||||
|
|
|
@ -19,9 +19,7 @@
|
||||||
</vn-one>
|
</vn-one>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal class="input">
|
<vn-horizontal class="input">
|
||||||
<vn-autocomplete
|
<vn-autocomplete vn-id="type" vn-one
|
||||||
vn-one
|
|
||||||
vn-id="type"
|
|
||||||
data="$ctrl.itemTypes"
|
data="$ctrl.itemTypes"
|
||||||
on-change="$ctrl.type = {
|
on-change="$ctrl.type = {
|
||||||
id: value,
|
id: value,
|
||||||
|
|
|
@ -41,4 +41,8 @@ vn-catalog-filter > div {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@extend .pad-medium;
|
@extend .pad-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vn-autocomplete[vn-id="type"] .list {
|
||||||
|
max-height: 20em
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue