Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(interface/multi-select): add max prop #563

Merged
merged 2 commits into from
May 7, 2024

Conversation

northsqrd
Copy link
Contributor

@northsqrd northsqrd commented Apr 28, 2024

Allows using the max prop to limit how many options can be selected in a multi-select input field. This is an already existing feature in Mantine that I believe could be useful.

A PR has been submitted to update the docs as well in overextended/overextended.github.io#182

Allows using the max prop to limit how many options can be selected in a multi-select input field.
@thelindat
Copy link
Member

Should be maxSelectedValues rather than max. Needs a Lua type definition too.

(Note to future me, look into consolidating types and adding support for most mantine features.)

@thelindat thelindat merged commit 24cedb0 into overextended:master May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants