Optional item-set rendering issue

Enonic version: 6.15.4
OS: OSX

There is a difference when rendiring an optional item-set (zero to …) on a content type with max 1 and more than one items.

It would look much better if the outer border for the item set was alway rendered, even when is only one item-set allowed - as provided image, but without the add button on bottom of course.

<item-set name="imageSection">
  <label i18n="imageSection.label">Bildeseksjon</label>
  <occurrences minimum="0" maximum="1"/>
  <items>
    <input name="name" type="imageSelector">
      <occurrences minimum="0" maximum="2"/>
      <label>Bilder</label>
      <help-text>Bilde til siden, vises full bredde under topptekstfeltet</help-text>
      <config>
        <allowPath>/my-site</allowPath>
      </config>
    </input>
  </items>
</item-set>

If you put a second item-set inside the first one, padding is lost for the second item-set (if you have a max one item-set).
01

Thanks for the input Preben, The frame was initially there, but was removed to reduce noise in the form based on feedback from customers.

All right. Your customers are sick people. You should get rid of them and your product would be better. Ok. I will try do deal with it. Thanks

This topic was automatically closed after 19 hours. New replies are no longer allowed.