This repository was archived by the owner on Apr 13, 2021. It is now read-only.
This repository was archived by the owner on Apr 13, 2021. It is now read-only.
proper way to add onChange event while keeping redux-forms/actions? #24
Closed
Description
adding a onChange handler to my input seems to remove the redux-forms/actions
how do you recommend having both? using middleware to intercept the action? use a thunk to dispatch the redux-forms/action from my onChange action?
or maybe a new function to pass into the component like "watchValue"?
thoughts?
im basically trying to call a api whenever my input field changes. i was using onBlur... but i would like a more instant feel so im using onChange with a debounce
something like this is what i did... which i guess works? but monkeypatching
Metadata
Metadata
Assignees
Labels
No labels