Hello all,
I m newbie in Plotly And I would like to have some help.
I m trying to add a pushbutton that deletes the filter that i add with the button add filter. And I didn’t succeed
We have two inputs, so it helps determine which input was clicked on by user. See this document for a deeper explanation, under the section “Determining which Input has fired with…”
Hi @adamschroeder thanks the reply. In my project I want to delete any intermediate elements using delete button. Can you please point me out where I can look for helper code?
For now I am trying to publish new_child containing remove-filter button when the add-filter button is clicked. Here drawback is that I can not use add-filter and remove-filter
as Inputs in the same callback. But I can not use two different callbacks with these Inputs either, because Output from these callback would point to a single element (“container”, “children”).
Can you please help me here? That would be greatly appreciated.
Hi @adamschroeder I would but there is not much difference in the code compare to what you suggested in your comment. The problem is that current implementation of callback allows us to delete the latest/ or last element of div_children. But I am interested to make any intermediate element from div_children disappear using remove button. For your reference please visit this GitHub page where code exists. Thank You.