Open JMPivette opened 11 months ago
Seems to be linked to changes made here: 75d8f58a7417826af62bfef80124a81d20d9dbe5 to keep input changes when using pagination.
I second this.
Run into similar issue, you can force reactable.extras
to reset the values by setting global variable called memory
to empty object in browser console, so depending on your context you need to run something like:
shinyjs::runjs("memory = {};")
Additional note: in order to properly flush the values you will need to re-render the whole table (so renderReactable
will need to run), the updateReactable
function does not work with this trick and inputs hold the values anyway.
Guidelines
Project Version
0.2.0
Platform and OS Version
No response
Existing Issues
No response
What happened?
if a value is changed using
dropdown_extra()
, then the value persist on the table even if the source data of my reactable changes.Steps to reproduce
Expected behavior
I was expecting these values to be "flushed" when the data changes. Or maybe a mechanism to force the refresh
Attachments
Screenshots or Videos
https://github.com/Appsilon/reactable.extras/assets/46813298/a32c4476-4852-4a91-b82d-31e53ee7bf7a
In this example I changed the values "Type" to "Van" on the first 2 lines in df1. When I switch to df2, the 2 first lines have a "Van" "Type" which is not the case in the dataset.
Additional Information
No response