You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the LightFilter component, the onFinish method is being triggered every time a value changes. I am looking for a way to suppress this behavior as we might be adding a separate submit button.
Think that's the point of Light Filter - any changes will be applied every time state changed.
You can easily override this behavior by writing an external hook which uses two states for actual and applied state and can handle submit (or implementing directly in your component)
馃 闂鎻忚堪
In the LightFilter component, the
onFinish
method is being triggered every time a value changes. I am looking for a way to suppress this behavior as we might be adding a separate submit button.馃捇 绀轰緥浠g爜
This issue can be reproduced in the following demo:
Lightweight Filtering Demo
馃殤 鍏朵粬淇℃伅
It appears that the submit action is directly invoked in the code here:
LightFilter index.tsx - Line 304
The text was updated successfully, but these errors were encountered: