Hello,
When we create an app with AWM and after edit the Class sheets and replace on one field this part
$doc.display('content1')
by
$doc.display('content1', 'hidden')
we expect to have the edited field hidden. Currently the field still be shown.
It look like that the case is not correctly managed here: https://github.com/xwiki/xwiki-platform/blob/3f7ba76e2dd91a8b71781a474666f451439718ae/xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/Content.xml#L79
Step to reproduce: