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:
<label>Lenke</label>
<expanded>false</expanded>
<occurrences minimum="1" maximum="1"/>
<options minimum="1" maximum="1">
<option name="optionLink">
<label>URL</label>
<default>true</default>
<items>
<input name="link" type="TextLine">
<label>Lenke</label>
<occurrences minimum="0" maximum="1"/>
<default>/</default>
</input>
</items>
</option>
<option name="optionXPContent">
<label>XP-innhold</label>
<items>
<input name="xpContent" type="ContentSelector">
<label>Innhold i XP</label>
<occurrences minimum="0" maximum="1"/>
<config>
<allowPath>${site}</allowPath>
</config>
</input>
</items>
</option>
</options>
</option-set>
I don’t know if it has a say but the part uses React4xp/react components.