Optionset field disappears after value is set

Enonic version: 7.1.3
OS: Windows 10

There’s a weird bug where the option-set field of a part disappears if there’s a value set after refreshing the Content Studio page.


For some reason adding an empty part above, clicking the new part and then the part I’m working on seems to make the options visible again. (Or delete the part and recreate it)


Here’s the code for the optionset:

        <occurrences minimum="1" maximum="1"/>
        <options minimum="1" maximum="1">
            <option name="optionLink">
                    <input name="link" type="TextLine">
                        <occurrences minimum="0" maximum="1"/>
            <option name="optionXPContent">
                    <input name="xpContent" type="ContentSelector">
                        <label>Innhold i XP</label>
                        <occurrences minimum="0" maximum="1"/>

I don’t know if it has a say but the part uses React4xp/react components.

Does sound like a bug… The framework in use should not affect the Content Studio UI.

We have reproduced the issue and registered a bug here. Will be fixed in a next release.

1 Like