Using a browser screen for selection presents unwanted icons

It seems that when I use a browser screen for record selection (to populate an many-to-many association), the screen presents a Select and Cancel button that show unwanted icons. I know that this is only a small issue but I do not want all these icons to appear without control over them.

As the platform adds these buttons through the add/select action, there is no way to control these buttons.

Any suggestions?

HI,

Currently we do not have API for Lookup window buttons. You can try to use workaround that uses CSS styles to hide these icons in all lookup windows (You will need to extend theme):


.cuba-lookup-window-wrapper .cuba-window-actions-pane {
  .v-button {
    .v-icon {
      display: none;
    }

    .v-button-caption {
      margin-left: 0;
    }
  }
}

There is a YouTrack issue on this problem, see the link on the right.

Hi Yuriy, works perfectly - I’m ok with this workaround.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-7737