Description Usage Arguments Examples
Autocomplete in Forms
1 | autocomplete(id, inputIcon, label, datalist)
|
id |
A character. |
inputIcon |
A tag that shows icon on the left of the input field. |
label |
A charater, showing the label in input area. |
datalist |
A list of name and value pairs. Names will be autocomplete for input field |
1 2 3 4 5 6 7 8 9 10 | inputIcon <- tags$i(class = "material-icons prefix",
"textsms")
id ="autocomplete-input"
label = "Autocomplete"
list(
apple=NULL, microsoft=NULL, google='https://placehold.it/250x250'
) -> datalist
tag_autocomplete <- autocomplete(
id=id, inputIcon=inputIcon, label=label, datalist=datalist
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.