While building a picker based ui with larger collections of suggestions I found that I needed to truncate the number of suggestions rendered in the UI "as you type". Makes sense for picker to enables this internally. This change adds a "max-suggestions" attribute to picker as well as showing a "type for more" message when large suggestion sets are truncated.
Also fixed an issue where max selection could be exceeded programmatically.
🎫 Issues
ad hoc
✅ Checklist
General
[x] I have included a change request file using $ yarn change
[ ] I have added tests for my changes.
[x] I have tested my changes.
[] I have updated the project documentation to reflect my changes.
[x] I have read the CONTRIBUTING documentation and followed the standards for this project.
📖 Description
While building a picker based ui with larger collections of suggestions I found that I needed to truncate the number of suggestions rendered in the UI "as you type". Makes sense for picker to enables this internally. This change adds a "max-suggestions" attribute to picker as well as showing a "type for more" message when large suggestion sets are truncated.
Also fixed an issue where max selection could be exceeded programmatically.
🎫 Issues
ad hoc
✅ Checklist
General
$ yarn change
Component-specific