I have added a multiselect field to a fieldset in my form.xml.

        <column name="ghs_pictogram_id">
        <argument name="data" xsi:type="array">
            <item name="options" xsi:type="object">Mcas\GhsPictogram\Source\Pictogram</item>
            <item name="config" xsi:type="array">
                <item name="filter" xsi:type="string">int</item>
                <item name="dataType" xsi:type="string">multiselect</item>
                <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/select</item>
                <item name="label" xsi:type="string" translate="true">Pictogram</item>

It works fine, I can select values and they are stored. My Problem is, that I'm not able to unselect the field. Once it is selected it stores a value, a reset to empty is not possible anymore.

1 Answer 1


You Can try below code .

<item name="validation" xsi:type="array">
     <item name="required-entry" xsi:type="boolean">false</item>
  • Thank you, I yust tried it, but it is not working. If once I have clicked a value in the multiselect field, the value is marked. It is not possible to unmark the value, only if I choose another value. But this is not helpful. Do you have an idea??? Jun 22, 2018 at 8:13
  • For a select field I can add a caption in the config section. Jun 22, 2018 at 8:16
  • <config> ..... <item name="caption" xsi:type="string" translate="true">Select one...</item> ..... </config> Jun 22, 2018 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.