My app displays several dataframes to the user. The app:
- Reads all filenames
- Generates previews for each file
- Displays these to the user
I want the user to be able to add files with upload or delete files (implemented as a dropdown selection + submit button).
Upload/deletion works fine, but I can’t figure out how to get the UI to refresh to account for the changed list of files.
Files are rendered as an accordion with three dataframes under each accordion. I can’t use the update syntax because accordions are not valid inputs/outputs.
Is there a way to trigger a refresh of a specific tab?