I use shinyalert and I want to put inside tag-list box when I use HTML, but it doesn't work
shinyalert(
      type = "info",
      confirmButtonText = "close",
      confirmButtonCol = "#6DBADE",
      size = "l", 
      closeOnEsc = TRUE,
      closeOnClickOutside = TRUE,
      animation = TRUE,
      html = TRUE,
      text =  HTML("
             <form action=''>
             <input list='cars'>
             <datalist id='cars'>
             <option value='BMW' />
             <option value='Bentley' />
             </datalist>
             </form>") 
    )
any idea where is my problem?
 
                        
First, remove
HTML.Now, I don't know why, but the css
.sweet-alert inputhas the propertydisplay: none;.So you can do:
<input list='cars' style='display: block;'/>.EDIT
However, the dropdown does not work. You can do this instead: