-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I am using autocomplete_input
with a list of airports from airportr
. You can search for three-letter IATA name or airport name. For the most part, this works well, but for some airports, (in my example "PIE"), it does not pull it up immediately. It finds PIE first in the middle of other airport names. Is it possible to search at the beginning before the middle?
Data:
airports <- airportr::airports %>%
select(IATA, Name) %>%
mutate(name2 = paste(IATA, " - ", Name)) %>%
select(name2) %>% pull()
Shiny:
dqshiny::autocomplete_input("departure", "Departure Airport:", airports, max_options = 5, contains = TRUE)
Metadata
Metadata
Assignees
Labels
No labels