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
I am building a graphical editor and would like to receive and dispatch updates on any fields without needing to intercept the onChange of each field. I have a central store (redux) where I keep for example the geometry of the fields { x, y, width, height } - each attribute has its own onChange - numeric inputs in html forms but they have so many others, I can't just rewrite all onChange, so any advice is appreciated.
Is there something that can help with this ? It is as if I would like to trigger submit but at any change
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am building a graphical editor and would like to receive and dispatch updates on any fields without needing to intercept the
onChange
of each field. I have a central store (redux) where I keep for example the geometry of the fields{ x, y, width, height }
- each attribute has its own onChange - numeric inputs in html forms but they have so many others, I can't just rewrite allonChange
, so any advice is appreciated.Is there something that can help with this ? It is as if I would like to trigger submit but at any change
Beta Was this translation helpful? Give feedback.
All reactions