Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarity of current search paramaters #34

Open
oganm opened this issue Jul 28, 2022 · 1 comment
Open

Clarity of current search paramaters #34

oganm opened this issue Jul 28, 2022 · 1 comment

Comments

@oganm
Copy link
Member

oganm commented Jul 28, 2022

It seems that currently, if one uses a file gene list, clicking reset and providing a list through the text bar, the search is still performed on the file gene list. Ideally file should be removable without refreshing the session

@jsicherm
Copy link

Great catch. In the past, I've skirted around R Shiny's poor support (or maybe my lack of understanding of their support) for file uploads by:

  1. Changing the fileInput UI element to a uiInput element
  2. Dynamically adding the fileInput on application launch in server.R
  3. Removing and re-adding a new fileInput on reset button clicked

This has worked for me when "hard" resets are necessary, but you can also probably get around it by having a session variable tracking whether to use the uploaded file or not (setting to FALSE on reset click, and TRUE on upload)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants