hi everyone i have a entity combobox with “entity_open” action, is there a way to make its detailed view in readonly mode ? thanks
Hi,
You can define viewConfigurer
and set ReadOnly state there, e.g.:
@Install(to = "clientField.entityOpen", subject = "viewConfigurer")
private void clientFieldEntityOpenViewConfigurer(final View view) {
if (view instanceof ReadOnlyAwareView detailView) {
detailView.setReadOnly(true);
}
}
Regards,
Gleb
thanks that works