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 #1206

Closed
ashklianko opened this issue Feb 11, 2020 · 0 comments
Closed

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

ashklianko opened this issue Feb 11, 2020 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@ashklianko
Copy link
Member

@alansemenov commented on Mon Feb 10 2020

  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 ashklianko self-assigned this Feb 11, 2020
alansemenov added a commit that referenced this issue Feb 24, 2020
Option-set inside part config is not shown in the Inspection panel #1206
@alansemenov alansemenov added the Bug Something isn't working label Feb 24, 2020
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