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

Incorrect label resolution of an option-set inside an item-set #1788

Closed
alansemenov opened this issue Feb 9, 2021 · 0 comments
Closed

Incorrect label resolution of an option-set inside an item-set #1788

alansemenov opened this issue Feb 9, 2021 · 0 comments
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@alansemenov
Copy link
Member

When the first non-empty property value for an item-set is a selected option of an option-set, the title is resolved to the option's name (option_1) instead of label (My first option). Note that for the option-set itself it's resolved correctly.

image

    <item-set name="myItemSet">
      <label>ItemSet</label>
      <items>
        <option-set name="checkOptionSet">
          <label>Multi-selection OptionSet</label>
          <expanded>true</expanded>
          <occurrences minimum="1" maximum="1"/>
          <options minimum="1" maximum="3">
            <option name="option_1">
              <label>My first option</label>
            </option>
            <option name="option_2">
              <label>My second option</label>
            </option>
          </options>
        </option-set>
      </items>
      <occurrences minimum="1" maximum="1"/>
    </item-set>
@alansemenov alansemenov added the Bug Something isn't working label Feb 9, 2021
@alansemenov alansemenov added this to the 3.2.1 milestone Feb 9, 2021
@alansemenov alansemenov assigned ashklianko and pmi and unassigned ashklianko Feb 9, 2021
alansemenov pushed a commit that referenced this issue Feb 18, 2021
alansemenov pushed a commit that referenced this issue Feb 18, 2021
alansemenov added a commit that referenced this issue Feb 25, 2021
* WizardHeaderWithDisplayNameAndName: refactor #1801

* codacy

* Changed to less generic style names and made prefix of a hidden path always be shown (#1801)

* Added FormContext.setFormState (#1805)

* Incorrect label resolution of an option-set inside an item-set #1788

* Incorrect label resolution of an option-set inside an item-set #1788

* Incorrect highlighting of required item/option-set occurrence #1789

* Correct styling of the Wizard's form icon (#1807)

* Codacy (#2885)

* Fixed missing minimize icon in the Wizard (#1807)

* Codacy (#1807)

* #1801

-letting path input to grow and take all available space if needed, but not more than required

* codacy

* WizardHeaderWithDisplayNameAndName: refactor #1801

* WizardHeaderWithDisplayNameAndName: refactor #1801

* Removed commented code (#1801)

* Removed left padding for WizardStepsPanel (#1801)

* WizardHeaderWithDisplayNameAndName: refactor #1801

Co-authored-by: Alan Semenov <ase@enonic.com>
Co-authored-by: Pavel Milkevich <pavel.milkevich@gmail.com>
Co-authored-by: Alan Semenov <alansemenov@users.noreply.github.com>
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

3 participants