Multiselect dropdown selection doesn't appear immediately

I’m experiencing an issue with the multi-select dropdown: when I select an option, the selection doesn’t appear immediately , it only updates after I click outside the dropdown. Has anyone else encountered this issue, or is there a known fix?

Hey, welcome to the Community @Sudeep! And thanks for reporting this! I wasn’t able to reproduce it on my end. Are you able to share a quick Loom video showing what’s happening? That would help me see the exact behavior. :folded_hands:t3:

Hey ChiEn, yes please that would be really helpful. also i was trying to implement multiselect with checkboxes in a dropdown where i want to have a liberty to select/deselect all options in click. let me know

Hello @Sudeep, happy to help! We currently don’t have built-in select or deselect functionality in the Multiselect component, but here’s a quick workaround if you’re open to adding two buttons next to it.

  1. Create two buttons and style them differently so it’s easy to tell which is “Select All” and which is “Deselect All.”

  2. For the “Select All” button, add an Event Handler → Click → Run Script → multiselect1.setValue(multiselect1.values) (replace multiselect1 with your component name).

  3. For the “Deselect All” button, add an Event Handler → Click → Run Script → multiselect1.clearValue() (again, replace multiselect1 with your component name).

This should give you the select/deselect functionality you’re looking for! :smiling_face_with_sunglasses:
Let me know if this works for you or if you have any other questions!