ChoiceFilter is a pure Vanilla JavaScript library which creates chained dependency among select dropdown lists, checkboxes and radio buttons in a simple and an easy way. A common use case is if you select a continent from a dropdown then countries in another dropdown which relies on continents should be filtered based on the selected item, similarly countries dropdown may filter a group of checkboxes for instance a group of cities. In this case of ChoiceFilter, continents filter countries and countries filter cities, if continents dropdown is changed based on its new value the domino effect may occur and the whole chain gets affected.
A combined example where different element types filter each other. In this case is presented a relationship between: Selects, Checkboxes and Radio Buttons.
Info: In this example Countries depend on Continents, and Cities depend to Countries dropdown, so there is a chain. If Country changes then only Cities will be filtered but if Continent changes all chain will be affected.