ComponentContainer could not be disabled if it belongs to a <tab>

Hi Jmix Support team,

I recently encountered a bug in the component inside of

<tabSheet id="sampleTabSheet">
	<tab id="sampleTab">
		<formLayout id="form" enabled="false">
			...
		</formLayout>
	</tab>
</tabSheet>

In the code snippet that is shown above, the formLayout is expected to be “disabled” by default, however on screen the formLayout is enabled and can be accessed when I first navigated to the screen. I have tried another method to wrap the formLayout inside of a component, and that would work.
Please help to find out why the “enabled” attribute does not work when I have another component container defined in the tab other than a .
Thank you.

P.S. We tried to print out whether the the formLayout component isEnabled() in the Controller as well after setting enabled=“false” in the Descriptor, it will print out true instead.

Thank you for reporting the problem. I’ve created a GitHub issue.

As a workaround, wrap formLayout into a container, e.g. div.

Regards,
Gleb