Multiselect dropdown field in Smart Action

What is the feature?

User should be able to select multiple entries in dropdown using checkbox or selectCss. Attached screenshot of the sample dropdown feature.

What problem does this solve for you?

User has to type multiple entries one by one currently if multiple selection is required

Please explain how it would help in your case.
This would help us provide user with option to select multi select values. For. e.g. Multiple countries selection etc…

Who else would be using this feature?

This will be helpful for all admin users in our project.

Please explain the role of the person or group of people who would be using this feature and how frequently they would be using it.
All developers, Sales team, admin team

Screenshot 2022-01-13 at 1.34.31 PM

Hello @Nilesh_Shirsat,

We already support this multiple entries dropdown widget for the [Enum] type.

Here a snippet that shows you how to configure it.

 actions: [{
    name: 'Multiselect dropdown',
    type: 'single',
    fields: [{
      field: 'dropdown',
      description: 'Multiselect dropdown test',
      type: ['Enum'],
      enums: ['a', 'c', 'b'],
      isRequired: true
    }]
  }],

You can see the actual behavior in the attached screenshot.
image

I totally get that it can be hard to create a Smart Action form depending on your use case.

In some use cases you need to use the Smart action dynamic hooks (load & change hooks) to fill the enums values and get the right behavior.

  • Could you share a case where you struggle to use this dropdown ?

Thanks for you feedbacks, it help us building the best experience for our customers. :pray:

Kind regards,
Morgan

1 Like

Thanks @morganperre. Didn’t knew about that. I tried and able to create dropdown field as expected.

1 Like

Perfect @Nilesh_Shirsat ! Let us know if you encounter any limitations. :slight_smile:

Kind regards,
Morgan