78
Views
7
Comments
Solved
[Multiple Selection Dropdown (ReactAndMob)] How to prevent the user from selecting multiple items
Application Type
Reactive

Hi again Chris

Is it possible to add a flag to the parameters that would prevent the users from selecting more than one item? Or is there an elegant way to do so within the currently available implementation?

The reason why I ask is that when I need to also add normal dropdowns to screens (for selecting single items only), those normal dropdown do not look or behave in the same way as your drop-down component and it's breaking the consistency on the screens.

The expectation from a UI and functional perspective would be that all the dropdowns should look and behave similarly (search functionality, error handling, etc). 

It would therefore make sense that the developer should be able to use your component exclusively for all the dropdowns on a screen, irrespective of whether the user needs to select multiple items, or only a single item in those dropdowns.

PS, Thanks again for this great component!

Kind regards


UserImage.jpg
Chris Stacey
Solution

Hi Pieter,

Thank you for your kind words!

I'd be happy to implement this.

Do you have a timeframe you need to keep to?

Kind Regards,
Chris

UserImage.jpg
Pieter Swart

I have about two months of development time still left on the back-office side of the particular project I'm currently working on. For now I can use alternatives, for testing and QA, so there isn't a big rush.

Thanks for the help!

UserImage.jpg
Chris Stacey

I've set aside time this week to implement this.

2023-01-26 16-03-24
Ana Agostinho

Hello Pieter Swart, 
I hope you are doing well.

This is not exactly the answer you might hoping, but a few weeks ago I posted an idea on the other forum requesting to OS to add parameter to limit the number of tags to be selected from a dropdown tag widget (in this case, it was related with a dropdown tag widget created and provided by OS), not this component in particular. (https://www.outsystems.com/ideas/12769/add-parameter-to-limit-the-number-of-tags-to-be-selected-from-a-dropdown-tag-widg/)

The idea was already implemented and I also tested and the feature works as explained on the comments. 

I hope this might help to solve your issue. 
Take care, 
Ana 

UserImage.jpg
Pieter Swart

Thanks Ana

You've given me the opportunity to look again at the current state of the internal components and I believe I can use the DropdownSearch component for now while Chris is looking at my request.


2023-01-26 16-03-24
Ana Agostinho
UserImage.jpg
Chris Stacey
Solution

Hi Pieter,

Thank you for your kind words!

I'd be happy to implement this.

Do you have a timeframe you need to keep to?

Kind Regards,
Chris

UserImage.jpg
Pieter Swart

I have about two months of development time still left on the back-office side of the particular project I'm currently working on. For now I can use alternatives, for testing and QA, so there isn't a big rush.

Thanks for the help!

UserImage.jpg
Chris Stacey

I've set aside time this week to implement this.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.