Skip to content

Commit 905aff7

Browse files
committed
Drop sticky update logic by always sending 'missing' value and resolving client-side
1 parent a720e43 commit 905aff7

File tree

8 files changed

+39
-52
lines changed

8 files changed

+39
-52
lines changed

shiny/ui/_input_select.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,6 @@ def _input_select_impl(
270270

271271
choices_tags = _render_choices(choices_, selected)
272272

273-
if remove_button is None:
274-
remove_button = multiple
275-
276273
# Add our own special remove_button option
277274
options["shinyRemoveButton"] = str(remove_button).lower()
278275

shiny/ui/_input_update.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,11 +766,9 @@ def update_selectize(
766766

767767
session = require_active_session(session)
768768

769-
if remove_button is not None:
769+
if options is not None or remove_button is not None:
770770
options = options or {}
771771
options["shinyRemoveButton"] = str(remove_button).lower()
772-
773-
if options is not None:
774772
cfg = tags.script(
775773
json.dumps(options),
776774
type="application/json",

shiny/www/shared/_version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"note!": "Generated by scripts/htmlDependencies.R: do not edit by hand",
33
"package": "shiny",
4-
"version": "1.11.1.9000 (rstudio/shiny@a06da9871b27c9c1d2ca5f8b8c0c0f57c972ed2a)"
4+
"version": "1.11.1.9000 (rstudio/shiny@c057bbab161cee58472fb81d24f9963114ccdb80)"
55
}

shiny/www/shared/bootstrap/_version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"note!": "Generated by scripts/htmlDependencies.R: do not edit by hand",
3-
"shiny_version": "1.11.1.9000 (rstudio/shiny@a06da9871b27c9c1d2ca5f8b8c0c0f57c972ed2a)",
3+
"shiny_version": "1.11.1.9000 (rstudio/shiny@c057bbab161cee58472fb81d24f9963114ccdb80)",
44
"bslib_version": "0.9.0.9000 (rstudio/bslib@9562108e40a0bffb4a7c8709c2963509435c5c0f)",
55
"htmltools_version": "0.5.8.9000 (rstudio/htmltools@487aa0bed7313d7597b6edd5810e53cab0061198)",
66
"bootstrap_version": "5.3.1"

shiny/www/shared/shiny.js

Lines changed: 13 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/shiny.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/shiny.min.js

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/shiny.min.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)