Side by side layout issue with Multi drop-down field

Hello All,

 

Here I found one weird behavior with SidebySideLayout() component:

Scenario: I Created UI with more than one multi drop-down fields in sideBySideLayout(), 

If user supposes to select a bunch of values from drop-down filed.sideBySideItem()--> component expanding based on the user selected values. This case will happen when we configure the width for SidebySideItem().  The following picture shows the behavior if we configure the width, in Other cases, it works well.

I'm suspecting that technically it might be the component issue?

Any suggestions or answers are appreciated!!! 

 

Best,

Rama

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer
    Hi,

    I have noticed this behaviour when you select MINIMIZE as component width for a dropdown field.
    Currently this is the default behaviour and cannot be adjusted. All you can do is change the component width to 1X which is the lowest possible width that can suppress this behaviour.

    Regards,
    Sunil Zacharia
  • I Agree with sunilz, you can configure the fixed width from the given options(“1X”, “2X”, “3X”, “4X”, “5X”, “6X”, “7X”, “8X”, “9X”, and “10X”) to avoid this issue.
  • Hi Ramakrishna,

    I agree with above practitioners. Below code may be useful to you.

    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item: a!multipleDropdownField(
    label: "data1",
    placeholder: "select data",
    choiceLabels: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    choiceValues: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    value: ri!testing,
    saveInto: ri!testing

    ),
    width: "1X"
    ),
    a!sideBySideItem(
    item: a!multipleDropdownField(
    label: "data2",
    placeholder: "select data",
    choiceLabels: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    choiceValues: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    value: ri!drop2,
    saveInto: ri!drop2
    ),
    width: "1X"
    ),
    a!sideBySideItem(
    item: a!multipleDropdownField(
    label: "data3",
    placeholder: "select data",
    choiceLabels: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    choiceValues: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    value: ri!drop3,
    saveInto: ri!drop3
    ),
    width: "1X"
    ),
    a!sideBySideItem(
    item: a!multipleDropdownField(
    label: "data4",
    placeholder: "select data",
    choiceLabels: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    choiceValues: {"a","b","c","d","a1","b1","c1","d1","a3","b3","c3","d3"},
    value: ri!drop3,
    saveInto: ri!drop3
    ),
    width: "1X"
    )

    }
    )