When using autocomplete options, let user stay in option when selecting an autocompleted value #4778
Unanswered
kingmigdor
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At mobile it's possible to automatically stay in the autocomplete, even when a choice has been clicked. This can be used if the bot needs to suggest more options, like if we have a
/docs
command it could suggest the attributes of it for example.I also don't think that both clients should behave different in this case, because it could limit developers when they have ideas of making autocompleted options.
My problem is that I don't get the choice before the user entered the command when they clicked a choice on desktop, but on mobile I still get the value. I did some hacky stuff in my code and made the second autocompleted option behave on the first option. I don't know how to explain, but when I selected a game in the first option, in the second option there should only be the accounts of that game I chose in the first one. This would be the use-case I have here, and it works well on mobile, but not on desktop.
Beta Was this translation helpful? Give feedback.
All reactions