Check if current view is opened as a dialog

Hi everyone is there a way to check if the current view is opened as a dialog? (Example DetailView opened from an entitycombobox with entity_open action)? Thanks.

Hi,

Pass view to the io.jmix.flowui.component.UiComponentUtils#isComponentAttachedToDialog method.

Regards,
Gleb

Thanks i wrote a workaround similar to this.