mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-09 14:15:40 -05:00
This bug is new since v1.1. When results are returned from selectize's server-side endpoint, iff no results have been selected before, then the control should be set to either its specified initial value (the one specified in selectInput/selectizeInput) or, if none was provided AND the selectize control is multiple=FALSE, then select the first entry automatically. That's the desired behavior; the bug was that last part, "select the first entry automatically", was happening whether results had already been selected before or not. This was causing merely typing in the control to cause the value to be changed. Fixes #2191