updateSelectizeInput with server side processing

https://shiny.rstudio.com/reference/shiny/latest/updateSelectInput.html
https://shiny.rstudio.com/articles/selectize.html

I am using selectizeInput and updateSelectizeInput with server side processing to be able to select items from a dropdown.

    updateSelectizeInput(
      session, 'state', 
      choices = state_names,  
      server = TRUE, 
      options = list(placeholder = 'select a state name', maxItems = 5)
    )

The place holder appears but I am not able to select more than one item. On the other hand, if I remove "server = TRUE", I am able to do it.