diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index 920fe250c14..2e7754fbf84 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1046,7 +1046,6 @@ export class MultiSelect implements OnInit,AfterViewInit,AfterContentInit,AfterV if (this.hasFilter() && this._options) { let searchFields: string[] = (this.filterBy || this.optionLabel || 'label').split(','); if (this.group) { - let searchFields: string[] = (this.optionLabel || 'label').split(','); let filteredGroups = []; for (let optgroup of this.options) { diff --git a/src/app/components/tree/tree.css b/src/app/components/tree/tree.css index b12f5a84b91..e3a5780907f 100755 --- a/src/app/components/tree/tree.css +++ b/src/app/components/tree/tree.css @@ -28,6 +28,7 @@ justify-content: center; overflow: hidden; position: relative; + flex-shrink:0; } .p-treenode-leaf > .p-treenode-content .p-tree-toggler {