I have a filtering system where users would be able to select multiple options to filter. Each selected item is highlighted when they click. I’d like to have a “clear filter” button to bring all of the filters back to their pre-selected states but I cant seem to figure it out.
I’ve tried creating a variant to bring it back to it’s original state but because each filter button is its own component I can’t seem to figure it out.
Does anyone here have any experience with this? If so, I would really appreciate any help!