enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
10 stars 4 forks source link

Option-set inside part config is not shown in the Inspection panel #1490

Closed alansemenov closed 4 years ago

alansemenov commented 4 years ago
  1. Create a new part with XML scheme below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<part xmlns="urn:enonic:xp:model:1.0">
  <display-name>Option Set</display-name>
  <form>
  <option-set name="radioOptionSet">
    <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>
  </form>
</part>
  1. Open a site and add the part to the page. The site is saved, everything is looking good in the inspect panel:

image

  1. Refresh the browser page

  2. Click the same part and open the Inspect panel.

Bug: Content of the option-set is not shown

image

  1. Click another component on the page and then the same part again. Now everything is back to normal.
ashklianko commented 4 years ago

Issue moved to enonic/lib-admin-ui #1206 via ZenHub