dash-pivottable
dash-pivottable copied to clipboard
[Feature Request] Pass updates to ValueFilter through to inputs
Currently, you can capture the ValueFilter property as input, but changes to filters aren't passed back to the app.
DE user would like to use this property to trigger a callback and access the updated values.
I had the same wish, and have my own fork; the fix is simply to add valueFilter to handleChange in the setProps section
this.props.setProps({
data,
cols,
colOrder,
rows,
rowOrder,
aggregatorName,
rendererName,
valueFilter,
showUI,
});
}```
Hi cdruck.
I tried implmenting your fix + using a fork but I received this error when running usage.py and adjusting the filter
TypeError: Converting circular structure to JSON --> starting at object with constructor 'HTMLParagraphElement' | property '__reactInternalInstance$y1dac41yydc' -> object with constructor 'FiberNode' --- property 'stateNode' closes the circle at JSON.stringify (