catalog item type dropdown show limit #1041

This commit is contained in:
Joan Sanchez 2019-02-05 11:31:30 +01:00
parent 4f2ca4af05
commit fa47c15d7a
3 changed files with 6 additions and 4 deletions

View File

@ -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;
const stmts = [];
let stmt;

View File

@ -19,9 +19,7 @@
</vn-one>
</vn-horizontal>
<vn-horizontal class="input">
<vn-autocomplete
vn-one
vn-id="type"
<vn-autocomplete vn-id="type" vn-one
data="$ctrl.itemTypes"
on-change="$ctrl.type = {
id: value,

View File

@ -41,4 +41,8 @@ vn-catalog-filter > div {
flex-wrap: wrap;
@extend .pad-medium;
}
vn-autocomplete[vn-id="type"] .list {
max-height: 20em
}
}