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

add: checkboxes for form modals #10594

Closed
KuezyIT opened this issue Nov 12, 2024 · 1 comment
Closed

add: checkboxes for form modals #10594

KuezyIT opened this issue Nov 12, 2024 · 1 comment

Comments

@KuezyIT
Copy link

KuezyIT commented Nov 12, 2024

Which application or package is this feature request for?

discord.js

Feature

I'm wishing for a feature that allows me to choose preselected options like checkbox menu within a single form modal for use after submission. This could be useful for application modals where users need to consent to some type of rules/they agree that they read through the requirements, or select multiple groups for specific role mentions, etc.

Ideal solution or implementation

Something like adding interaction.field.getCheckboxSelection to the already other existing interaction fields.

Alternative solutions or implementations

No response

Other context

No response

@Amgelo563
Copy link
Contributor

What you're mentioning is not possible on Discord, and since discord.js is simply a non official wrapper for the Discord API, it does not control what features Discord has.

You should instead request that to Discord (and once they add it, it can then be added to discord.js), or follow the existent discussions (eg discord/discord-api-docs#5883), since improved modals is a long desired feature.

@Jiralite Jiralite closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants