generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
Please fill out these Check-boxes
- I checked for existing similar feature requests
- I have read the docs and checked that the feature I am requesting is not already implemented
- My feature request consists of only one feature
Is your Feature Request related to a Problem or Annoyance?
This is NOT a necessary feature for me.
If it requires too much effort, please disregard this.
I'm mostly surprised that it wasn't already included.
Describe the Feature you'd like
Add and argument to specify the maximum number of selections that can be made.
i.e. If the new argument is limitSelect
, then
```meta-bind
INPUT[multiSelect(
option(One),
option(Two),
option(Three),
limitSelect(2)]
```
Should produce a multi select list that will limit the maximum selection to 2
Alternatives
Maybe allow it to specify both max and minimum selections, and have the selections light up in the 'destructive' style (red) if the number of selections are above or below the range
Additional Context
This mainly for use with spaced repetition plugin for reviewing MCQs.