{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/miniUI/issues/5","repository_url":"https://api.github.com/repos/rstudio/miniUI","labels_url":"https://api.github.com/repos/rstudio/miniUI/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/miniUI/issues/5/comments","events_url":"https://api.github.com/repos/rstudio/miniUI/issues/5/events","html_url":"https://github.com/rstudio/miniUI/issues/5","id":134726410,"number":5,"title":"Possible bug in getting the currently selected tab in a gadget using miniTabstripPanel","user":{"login":"daattali","id":952340,"avatar_url":"https://avatars0.githubusercontent.com/u/952340?v=4","gravatar_id":"","url":"https://api.github.com/users/daattali","html_url":"https://github.com/daattali","followers_url":"https://api.github.com/users/daattali/followers","following_url":"https://api.github.com/users/daattali/following{/other_user}","gists_url":"https://api.github.com/users/daattali/gists{/gist_id}","starred_url":"https://api.github.com/users/daattali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daattali/subscriptions","organizations_url":"https://api.github.com/users/daattali/orgs","repos_url":"https://api.github.com/users/daattali/repos","events_url":"https://api.github.com/users/daattali/events{/privacy}","received_events_url":"https://api.github.com/users/daattali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-02-18T23:13:47Z","updated_at":"2017-11-29T08:57:27Z","closed_at":null,"author_association":"NONE","body":"For some reason I can't seem to figure out how to get the value of the selected tab in a shiny gadget.  I thought it'd be straight forward, but this isn't working.  Not sure if there's a bug, or if I'm missing something.\n\n```\nlibrary(shiny)\nlibrary(miniUI)\n\nui <- miniPage(\n  miniTabstripPanel(\n    id = \"mytabs\",\n    miniTabPanel(\"Tab 1\", value = \"tab1\", \"tab 1\"),\n    miniTabPanel(\"Tab 2\", value = \"tab2\", \"tab 2\"),\n    miniTabPanel(\"Tab 3\", value = \"tab3\", \"tab 3\")\n  )\n)\n\nserver <- function(input, output, session) {\n  observe({\n    cat(input$mytabs)\n  })\n}\n\nrunGadget(ui, server)\n```\n"},"comment":{"url":"https://api.github.com/repos/rstudio/miniUI/issues/comments/347794118","html_url":"https://github.com/rstudio/miniUI/issues/5#issuecomment-347794118","issue_url":"https://api.github.com/repos/rstudio/miniUI/issues/5","id":347794118,"user":{"login":"zx8754","id":5212915,"avatar_url":"https://avatars0.githubusercontent.com/u/5212915?v=4","gravatar_id":"","url":"https://api.github.com/users/zx8754","html_url":"https://github.com/zx8754","followers_url":"https://api.github.com/users/zx8754/followers","following_url":"https://api.github.com/users/zx8754/following{/other_user}","gists_url":"https://api.github.com/users/zx8754/gists{/gist_id}","starred_url":"https://api.github.com/users/zx8754/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zx8754/subscriptions","organizations_url":"https://api.github.com/users/zx8754/orgs","repos_url":"https://api.github.com/users/zx8754/repos","events_url":"https://api.github.com/users/zx8754/events{/privacy}","received_events_url":"https://api.github.com/users/zx8754/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T08:57:27Z","updated_at":"2017-11-29T08:57:27Z","author_association":"NONE","body":"Related(?) [SO post: Access the minTabstripPanel selection a shiny gadget\r\n](https://stackoverflow.com/q/46851699/680068)"}}
{"actor":{"display_login":"zx8754"}}