#Making able to unselect options from select menu

1 messages · Page 1 of 1 (latest)

unique mountain
#

hey, i will show you my code

#

Here is making some stuff to show dynamic selectMenu options data

#

Here is interaction Part

#

here is result from terminal

#

Do you know why the return value from selected option was empty array.

barren light
#

You have min set to 0

unique mountain
#

how colud i do unselectable?

#

is my logic wrong?

barren light
#

What do you want to do?

unique mountain
#

If user have that role and click that select option again, i wanna remove that role from user

barren light
#

So if the user unselects it, then no options are selected and the values array is empty

unique mountain
#

how can i detect , unselected values?

#

is there a ways?