We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2db2a commit 1daae23Copy full SHA for 1daae23
shiny/bookmark/_bookmark.py
@@ -444,6 +444,16 @@ async def update_query_string(
444
async def do_bookmark(self) -> None:
445
446
if self.store == "disable":
447
+ # If you have a bookmark button or request a bookmark to be saved,
448
+ # then it should be saved. (Present a warning telling author how to fix it)
449
+ warnings.warn(
450
+ "Saving the bookmark state has been requested. "
451
+ 'However, bookmarking is current set to `"disable"`. '
452
+ "Please enable bookmarking by setting "
453
+ "`shiny.App(bookmark_store=)` or "
454
+ "`shiny.express.app_opts(bookmark_store=)`",
455
+ stacklevel=2,
456
+ )
457
return
458
459
try:
0 commit comments