File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 #input
1818 *ngIf ="!toolbar || active || value !== '' "
1919 class ="bx--search-input "
20- [type] ="tableSearch ? 'text' : 'search' "
20+ [type] ="tableSearch || !toolbar ? 'text' : 'search' "
2121 role ="search "
2222 [id] ="id "
2323 [value] ="value "
2424 [placeholder] ="placeholder "
2525 [disabled] ="disabled "
2626 [required] ="required "
2727 (input) ="onSearch($event.target.value) "/>
28- < button *ngIf ="!tableSearch " class ="bx--toolbar-search__btn " (click) ="openSearch() ">
28+ < button *ngIf ="!tableSearch && toolbar " class ="bx--toolbar-search__btn " (click) ="openSearch() ">
2929 < ibm-icon-search16 class ="bx--search-magnifier "> </ ibm-icon-search16 >
3030 </ button >
31- < ibm-icon-search16 *ngIf ="tableSearch " (click) ="openSearch() " class ="bx--search-magnifier "> </ ibm-icon-search16 >
31+ < ibm-icon-search16 *ngIf ="tableSearch || !toolbar " (click) ="openSearch() " class ="bx--search-magnifier "> </ ibm-icon-search16 >
3232 </ ng-template >
3333
3434 < button
35- *ngIf ="tableSearch "
35+ *ngIf ="tableSearch || !toolbar "
3636 class ="bx--search-close "
3737 [ngClass] ="{
3838 'bx--search-close--hidden': !value || value.length === 0
You can’t perform that action at this time.
0 commit comments