Is it possibly to set some elements of the callback to false and others to true in the ‘prevent_initial_call’?
Example:
let’s say i have a callback that plots some data based on user’s inputs of various dropdowns and slide bars.
The various inputs then are used to filter a dataframe and that dataframe gets used in the mapbox. The other thing is this filtered dataframe is being exported to csv when the user clicks a download button.
My issue is I want the map to load initially (prevent_initial_call=False, i.e. the default I believe) while for the download to be set to ‘prevent_initial_call=True’.
is this doable within the same callback?
Thanks