-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging
Description
Summary
Subclasses of Select don't accept required
parameter, including UserSelect/RoleSelect/MentionableSelect/ChannelSelect. It is useful for using in modals.
Also, I thought these selects should have .required=True
by default, like Select, but at least for ChannelSelect this isn't true.
Minimal Reproducible Code
ChannelSelect(required=True)
-- this doesn't work
Select(required=True)
-- this works
ChannelSelect().required
-- False
Select().required
-- True
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Metadata
Metadata
Assignees
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging