cannot inject typed text into search box as first value
Closed this issue · 4 comments
Maniwar commented
anyway i can add whatever I'm typing into the select list? If it's not on the suggestions, i can't pick my own text. seems to work on localhost, but not on cloud.
Maniwar commented
Maniwar commented
m-wrzr commented
Hey, could it be an sorting issue? Both localhost/cloud seem to have different result lists?
Otherwise, if you want to make sure the input is available in the selections, it would have to be added to the provided search function.
Maniwar commented
Thank you! My mistake. This fixed it
# Insert the user input as the first option
results.insert(0, query)
…On Fri, May 12, 2023 at 4:36 AM m-wrzr ***@***.***> wrote:
Hey, could it be an sorting issue? Both localhost/cloud seem to have
different result lists?
Otherwise, if you want to make sure the input is available in the
selections, it would have to be added to the provided search function.
—
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNEEQWYPCX7365UDG7VUE3XFYODRANCNFSM6AAAAAAX4FANEU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>