KamoCRM

Use ref to store filter value and prevent AG Grid from resetting it

Fixkamo-internal
Shipped
21 நவம்பர், 2025 அன்று 2:08 AM UTC
Author
snadjafinia
Commit
669d9f4

- Store current value in valueRef to persist across re-renders - Use isUserChangeRef to prevent sync effect from overriding user changes - Read initial model from filter instance on mount - Always use valueRef.current for Select value to prevent resets - This should finally fix the filter reset issue

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing