Steps to reproduce
- Having a content type with: one boolean and two richtexts with a disabled condition on the richtexts depending of the boolean (here it is a negative disabling), like :
<attribute name="alineas" type="repeater" initial-size="0" min-size="0"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEAS_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEAS_DESC</description> <add-label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEAS_ADD</add-label> <del-label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEAS_DELETE</del-label> <attribute name="code" type="string"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_CODE_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_CODE_DESC</description> <widget>edition.hidden</widget> <validation> <mandatory /> </validation> <restrict-to> <workflow read-write-direction="write" step="-1"/> </restrict-to> </attribute> <attribute name="archived" type="boolean"> <label i18n="true">plugin.cms:PLUGINS_CMS_ARCHIVED_ATTRIBUTE_LABEL</label> <description i18n="true">plugin.cms:PLUGINS_CMS_ARCHIVED_ATTRIBUTE_DESC</description> <default-value>false</default-value> </attribute> <attribute name="text" type="rich-text"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_TEXT_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_TEXT_DESC</description> <widget-params> <param name="height">200</param> </widget-params> <validation> <mandatory /> </validation> </attribute> <attribute name="isDerogable" type="boolean"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_IS_DEROGABLE_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_IS_DEROGABLE_DESC</description> </attribute> <attribute name="helpTextDerogation" type="rich-text"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_HELP_TEXT_DEROGATION_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_HELP_TEXT_DEROGATION_DESC</description> <widget-params> <param name="height">100</param> </widget-params> <disable-conditions> <condition id="isDerogable" operator="neq">true</condition> </disable-conditions> </attribute> <attribute name="helpTextMotivation" type="rich-text"> <label i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_HELP_TEXT_MOTIVATION_LABEL</label> <description i18n="true">PLUGINS_ODF_PILOTAGE_RG_ALINEA_HELP_TEXT_MOTIVATION_DESC</description> <widget-params> <param name="height">100</param> </widget-params> <disable-conditions> <condition id="isDerogable" operator="neq">true</condition> </disable-conditions> </attribute> </attribute>
- Create or open a content of this type
- Create a new repeater entry.
- The first disabled rich text has a disabled style but is editable and no effect on the second rich text. In the example below, the condition is based on "Dérogation possible" unchecked, on the both richtexts "Consigne...".
- Already existing entries are fine.
- Checking and unchecking the checkbox has no effect.