How to stop typing when maximumSelectionLength is reached?
I'm using select2 4.0. Can we set the constraint that users can not type in any character when the maximumSelectionLength is reached? Thanks.
I think we previously set a maxlength attribute on the search box which would accomplish what you are looking for.
Though it doesn't trigger the message below if it's used, which is something we never really figured out how to work around.
I'd really like to see maxlength implemented! I assumed (fail) upon reading the docs, that the standard way of limiting input lengths would be enforced.
@kevin-brown is there any way to not show the message and get that maxlength attribute added by using a custom adapter with select2 4.0? I'm really not sure how I would go about this but need that behavior! Any help you could provide would be appreciated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.