jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
694 stars 124 forks source link

SearchField on SearchResultsView doesn't apply buttons visibility settings of original SearchField #3848

Closed Gavrilov-Ivan closed 1 week ago

Gavrilov-Ivan commented 2 weeks ago

Environment

Jmix version: 2.4.0

Bug Description

SearchField on SearchResultsView opened via navigation mode always has hidden buttons.

Steps To Reproduce

  1. Add SearchField: openMode="NAVIGATION" (default).
  2. Use settingsButtonVisible and searchButtonVisible and make visible at least one button.
  3. Perform some search.

Current Behavior

Search and Settings buttons are always hidden.

Expected Behavior

SearchField on opened SearchResultsView should have the same buttons visibility settings as the original SearchField.

SergeiAksenov2 commented 1 week ago

Tested on: Jmix version: 2.4.999-SNAPSHOT Jmix Studio plugin version: 2.4.SNAPSHOT6960-242 IntelliJ version: IntelliJ IDEA 2024.2.4 (Community Edition)