-
🔍 fix(pricing): synchronize search term with sidebar filters & reset behavior · b6c353ec* Add `searchValue` to every dependency array in `usePricingFilterCounts` to ensure group/vendor/tag counts and disabled states update dynamically while performing fuzzy search. * Refactor `PricingTopSection` search box into a controlled component: - Accept `searchValue` prop and bind it to `Input.value` - Extend memo dependencies to include `searchValue` This keeps the UI in sync with state changes triggered by `handleChange`. * Guarantee that `resetPricingFilters` clears the search field by leveraging the new controlled input. As a result, sidebar counters/disabled states now react to search input, and the “Reset” button fully restores default filters without leaving the search term visible.
t0ng7u committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| content | Loading commit data... | |
| header | Loading commit data... | |
| PricingPage.jsx | Loading commit data... | |
| PricingSidebar.jsx | Loading commit data... |