{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/shiny/issues/1375","repository_url":"https://api.github.com/repos/rstudio/shiny","labels_url":"https://api.github.com/repos/rstudio/shiny/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/shiny/issues/1375/comments","events_url":"https://api.github.com/repos/rstudio/shiny/issues/1375/events","html_url":"https://github.com/rstudio/shiny/issues/1375","id":177723910,"number":1375,"title":"Bookmarking Fails For Server-side Selectize","user":{"login":"DarioS","id":631218,"avatar_url":"https://avatars.githubusercontent.com/u/631218?v=3","gravatar_id":"","url":"https://api.github.com/users/DarioS","html_url":"https://github.com/DarioS","followers_url":"https://api.github.com/users/DarioS/followers","following_url":"https://api.github.com/users/DarioS/following{/other_user}","gists_url":"https://api.github.com/users/DarioS/gists{/gist_id}","starred_url":"https://api.github.com/users/DarioS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarioS/subscriptions","organizations_url":"https://api.github.com/users/DarioS/orgs","repos_url":"https://api.github.com/users/DarioS/repos","events_url":"https://api.github.com/users/DarioS/events{/privacy}","received_events_url":"https://api.github.com/users/DarioS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-19T08:00:15Z","updated_at":"2016-09-19T08:00:15Z","closed_at":null,"body":"If there are choice lists, updated with `server = TRUE`, the choice is not retained when the web application link is used.\r\n\r\nIn ui.R : \r\n\r\n\tfunction(request) {\r\n\t  fluidPage(\r\n\t    selectizeInput(\"choices\", label = \"Choose One\", choices = NULL),\r\n\t    radioButtons(\"moreChoices\", \"Choose Again\", LETTERS[1:5]),\r\n\t    actionButton(\"addButton\", \"Add Options\"),\r\n\t    bookmarkButton()\r\n\t  )\r\n\t}\r\n\r\nIn server.R : \r\n\r\n\tshinyServer(function(input, output, session) {\r\n\t  observeEvent(input[[\"addButton\"]], updateSelectizeInput(session, \"choices\", choices = LETTERS, server = TRUE))\r\n\t})\r\n\r\nIn global.R, `enableBookmarking(store = \"server\")`.\r\n\r\nThis is an important issue to fix for bioinformatics applications, which have lists of thousands of choices."}}
{"actor":{"display_login":"DarioS"}}