File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
form/builder/ds-dynamic-form-ui/relation-lookup-modal/search-tab Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 77 [searchFormPlaceholder] ="'submission.sections.describe.relationship-lookup.search-tab.search-form.placeholder' "
88 [selectable] ="true "
99 [selectionConfig] ="{ repeatable: repeatable, listId: listId } "
10+ [showViewModes] ="false "
1011 (resultFound) ="onResultFound($event) "
1112 (deselectObject) ="deselectObject.emit($event) "
1213 (selectObject) ="selectObject.emit($event) ">
Original file line number Diff line number Diff line change 5454 [currentSortOption] ="(currentSortOptions$ | async) "
5555 [inPlaceSearch] ="inPlaceSearch "
5656 [viewModeList] ="viewModeList "
57+ [showViewModes] ="showViewModes "
5758 (changeConfiguration) ="changeContext($event.context) "
5859 (changeViewMode) ="changeViewMode() "> </ ds-search-sidebar >
5960 < ds-search-sidebar id ="search-sidebar-sm " *ngIf ="(isXsOrSm$ | async) "
6566 [sortOptionsList] ="(sortOptionsList$ | async) "
6667 [currentSortOption] ="(currentSortOptions$ | async) "
6768 [viewModeList] ="viewModeList "
69+ [showViewModes] ="showViewModes "
6870 (toggleSidebar) ="closeSidebar() "
6971 (changeConfiguration) ="changeContext($event.context) "
7072 (changeViewMode) ="changeViewMode() ">
Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ export class SearchComponent implements OnInit {
119119 */
120120 @Input ( ) showSidebar = true ;
121121
122+ /**
123+ * Whether to show the view mode switch
124+ */
125+ @Input ( ) showViewModes = true ;
126+
122127 /**
123128 * List of available view mode
124129 */
You can’t perform that action at this time.
0 commit comments