Description
Description
When using an entity select, and edit the message in response to the interaction with the same content (Callback type UPDATE_MESSAGE
), the selected option(s) will not be cleared on Desktop until another component is used, while they are on mobile. While inconsistent, this also means that to my knowledge, there's no way to clear the selected options at all (except maybe changing the custom_id
). I think the correct behaviour would be to always clear the select after a message update (Like how it is on mobile) and populate only based on the provided default_values
.
Providing an empty default_values
array does not change this behaviour
Steps to Reproduce
- Send a message with an entity select attached (I used
IS_COMPONENTS_V2
flag, have not tested without) - When the interaction is received, use
UPDATE_MESSAGE
callback type with the same component
Expected Behavior
The select menu should always be cleared if it was updated based on the provided default_values
Current Behavior
The selected entity will still be selected on desktop after the the message was updated
The select menu will be cleared on mobile based on default_values
Screenshots/Videos
No response
Client and System Information
canary 395712 (f927aca) Host 0.0.602 x64 Build Override: N/A Linux 64-bit (6.14.3-arch1-1)