question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add multi-select limiter

See original GitHub issue

Adding a custom limiter would enable developers the ability check what is currently selected, and do things like:

You could do this through a limited prop, which stops the user from selecting more options, but they can still be clearable and not disabled

That way this functionality should be easy enough to add for any level of control.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

8reactions
codeorelsecommented, Aug 31, 2015

Is anyone working on this atm?

4reactions
JeanOsoriocommented, Jan 19, 2017

I know this issues is close, but limited the selector with the prop limited is not working for me. Also here in the documentation (https://github.com/JedWatson/react-select#multiselect-options) I did not see the limited prop. What I’m doing wrong.

Read more comments on GitHub >

github_iconTop Results From Across the Web

select - HTML Multiselect Limit - Stack Overflow
Script that will disallow more than 3 elements to be selected (as opposed to just validating it at submit time). http://jsfiddle.net/v33sszgp/ var verified...
Read more >
How to limit values in a multi-select - YouTube
Watch how you can limit the number of items your filler can choose in a multi Dropdown field.
Read more >
Increase the limit on multi-select picklist values - Salesforce Help
The default Multi-Select Picklist Value limit should now default to 500 for new and existing Organizations. In the event your organization discovers the ......
Read more >
Limit multi select selections - ThemeCatcher Support
To limit the number selections of a Multi Select element add the following code to Forms → Settings → Custom CSS & JS...
Read more >
Demo of Maximum allowed or limit selection of multiple ...
Demo of How to limit number of selections in a multi select dropdown listbox in a form.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found