Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alansemenov opened this issue Feb 10, 2020 · 1 comment
Closed
Assignees
Labels
Bug Something isn't working

Comments

@alansemenov
Copy link
Member

  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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants