guide icon indicating copy to clipboard operation
guide copied to clipboard

Get MessageSelectMenu values in modalSubmit

Open MrEleffant opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

When building a Modal, it is possible to add Message select menu as same as texts inputComponent image image but when trying to get the selections values after ModalSubmit, the value of the component is "undefined". image

Describe the solution you'd like

A solution could be to get values as same as select interaction, to get selec values

Describe alternatives you've considered

No response

Additional notes

Sorry if i'm not explaining this the right way, this is my first "ticket", I try to help the best. Thank you for your comprehension

MrEleffant avatar Jun 19 '22 17:06 MrEleffant

There is already a Draft PR in discord.js to support select menus in modals, check it.

Also, select menus in modals are not released yet, you can use it, but are in development

Mateo-tem avatar Jun 19 '22 17:06 Mateo-tem

https://github.com/discordjs/discord.js/issues/8035#issuecomment-1218424881

Jiralite avatar Sep 13 '22 12:09 Jiralite