-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Modal Selects #7804
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
Merged
Merged
Modal Selects #7804
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1f64518
Add changelog skeleton
anthonydiscord 7609cfe
Fix spacing for .md code highlighting
anthonydiscord 11129bf
Add modal selects
anthonydiscord 8f17c20
Add interactions
anthonydiscord c5fdd29
Fix Label interaction response
anthonydiscord 6b15166
Add Text Display modal
anthonydiscord 2c28fa6
Add changelog
anthonydiscord 0980476
Add modal examples
anthonydiscord b8f9b43
Add modal images
anthonydiscord bd52872
note that we receive partial components for modal interactions (#7811)
Lulalaby d880e99
fix: note about modal interactions was in the wrong place (#7812)
Lulalaby 557d870
Lossless webp
anthonydiscord 9fc4122
Merge branch 'anthony/modal-selects' of https://github.com/discord/di…
anthonydiscord 74e95be
Less repetetive wording
anthonydiscord 3df7b8f
Changelog reword
anthonydiscord 85435ff
Update docs/change-log/2025-09-10-more-modal-components.md
anthonydiscord File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| title: "Adding More Modal Components!" | ||
| date: "2025-09-10" | ||
| topics: | ||
| - "Interactions" | ||
| - "Components" | ||
| --- | ||
|
|
||
| We've added more components to modals! All selects (User, Role, Mentionable, Channel) are now fully supported in modals. In order to use a select in a modal it must be placed inside a [Label](/docs/components/reference#label) component. We've also added the [Text Display](/docs/components/reference#text-display) component with markdown support as a top level component in modals. | ||
|
|
||
| #### Components Now Supported in Modals: | ||
|
|
||
| - [**User Select**](/docs/components/reference#user-select) | ||
| - [**Role Select**](/docs/components/reference#role-select) | ||
| - [**Mentionable Select**](/docs/components/reference#mentionable-select) | ||
| - [**Channel Select**](/docs/components/reference#channel-select) | ||
| - [**Text Display**](/docs/components/reference#text-display) | ||
|
|
||
| #### Getting Started | ||
|
|
||
| - [Using Modal Components](/docs/components/using-modal-components) - Dive into creating a modal | ||
|
|
||
| #### Developer Resources | ||
|
|
||
| Check out our [Component Reference](/docs/components/reference) for details on all available components. | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.