-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Description
When replying to an interaction with a modal, setting the custom_id
key to ""
is valid and will show a modal. This messes with the handling of a modal, because an empty identifier may break systems. This is also inconsistent with pretty much every other required string.
Steps to Reproduce
Respond to an interaction with a modal. Set the modal's custom_id
to ""
.
Expected Behavior
Like components it should throw a <...>_CUSTOM_ID_REQUIRED
error.
Current Behavior
It shows the modal
Screenshots/Videos
No response
Client and System Information
canary 443309 (cf3243a) Host 0.0.860 arm64 Build Override: N/A macOS 26 (25.0.0)