0
Is there way to autocomplete the sentences in shiny (TextAreaInput)? For example, I have few names here my_autocomplete_names
so when ever I try to write in the area box, for example "My name is J..." so it should suggest me as John Doe
since it is there in my suggestion list and so on.
2nd Example, "There is a person called "A....", it should suggest me 2 names like, "Ash","Ajay sharma"
.
Is there a way to solve this ?
library(shiny)
my_autocomplete_names <- c("John Doe","Ash","Ajay sharma","Ken Chong","Will Smith","Neo")
ui <- shinyUI(
fluidPage(textAreaInput("id", "Text"))
)
server <- function(input, output, session) {
}
shinyApp(ui = ui, server = server)