Hi Dash Community:
I understand that we can use the pattern matching callback for arbitrary or dynamic matched callbacks.
https://community.plotly.com/t/dash-v1-11-0-release-introducing-pattern-matching-callbacks/37592/3
However, is there a way that we can create a component that can support “any” type of input, or a component whose “value” can be of a dictionary?
As a concrete example, I have implemented a UI component, which can takes various type of inputs as below, and the callback takes the value of this component ( as a dictionary ) and perform the calculation accordingly. Right now, there is no simple way other than defining this input one and two as two components ( with different ids ). Apologize if I didn’t express clearly. Thank you.
input one: {“type”: “fruit”, “quantity”: 100, “name”: apple"}
input two: {“date”: today(), “choice”: “English”}