I have a dash app with persistence in its inputs enabled (persistence_type=‘session’). When I fill in the inputs by hand persistency works correctly, but if I fill the values of an input as the output of a callback function, persistency does not work. That is, when refreshing the browser the values in the input fields disappear.
This seems to be per design that persistence is only for user inputs rather than those set in a callback.
You can find a discussion and some workarounds here: