{"action":"opened","issue":{"url":"https://api.github.com/repos/thomasp85/shinyFiles/issues/14","labels_url":"https://api.github.com/repos/thomasp85/shinyFiles/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/thomasp85/shinyFiles/issues/14/comments","events_url":"https://api.github.com/repos/thomasp85/shinyFiles/issues/14/events","html_url":"https://github.com/thomasp85/shinyFiles/issues/14","id":63902473,"number":14,"title":"Weird issue with updating other inputs","user":{"login":"yindeng","id":10352555,"avatar_url":"https://avatars.githubusercontent.com/u/10352555?v=3","gravatar_id":"","url":"https://api.github.com/users/yindeng","html_url":"https://github.com/yindeng","followers_url":"https://api.github.com/users/yindeng/followers","following_url":"https://api.github.com/users/yindeng/following{/other_user}","gists_url":"https://api.github.com/users/yindeng/gists{/gist_id}","starred_url":"https://api.github.com/users/yindeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yindeng/subscriptions","organizations_url":"https://api.github.com/users/yindeng/orgs","repos_url":"https://api.github.com/users/yindeng/repos","events_url":"https://api.github.com/users/yindeng/events{/privacy}","received_events_url":"https://api.github.com/users/yindeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-24T04:47:30Z","updated_at":"2015-03-24T04:47:30Z","closed_at":null,"body":"First of all, thanks for this very useful package!\r\n\r\nI ran into a very weird issue, and I created a minimal example below to demonstrate one aspect of the issue (I'm still trying to find a small example that replicates the bigger issue I'm having in my shiny application, but I was hoping fixing this issue may at least shed light on the bigger issue).\r\n\r\nHere's what's going on: if you click on the \"file select\" and selects a new file, it's supposed to update the textbox below with the file's name, but nothing happens. The button \"Update File Name\" works as expected. Any ideas or suggestions?\r\n\r\nThanks,\r\nYindeng\r\n\r\nui.r\r\n```r\r\nlibrary(shiny)\r\nlibrary(shinyFiles)\r\n\r\nshinyUI(\r\n  fluidPage(\r\n    actionButton('update', 'Update File Name'),\r\n    shinyFilesButton('file', 'File select', 'Please select a file', FALSE),\r\n    textInput('fileName', 'File Name')\r\n  )\r\n)\r\n```\r\n\r\nserver.r\r\n```r\r\nlibrary(shiny)\r\nlibrary(shinyFiles)\r\n\r\nshinyServer(function(input, output, session) {\r\n  dirRoots <- c('R Installation'=R.home())\r\n\r\n  shinyFileChoose(input, 'file', roots=dirRoots, session=session, restrictions=system.file(package='base'))\r\n\r\n  updateFileName <- function(){\r\n    file <- (parseFilePaths(dirRoots, input$file))\r\n    updateTextInput(session, 'fileName', value=file$name)\r\n  }\r\n  observeEvent(\r\n    input$file, updateFileName()\r\n  )\r\n  observeEvent(\r\n    input$update, updateFileName()\r\n  )\r\n\r\n}\r\n)\r\n```\r\n"}}