form icon indicating copy to clipboard operation
form copied to clipboard

setFieldsValue doesn't trigger any event on component

Open KrFeher opened this issue 6 years ago • 1 comments

Using setFieldsValue on a form item sets the value of the component correctly, but does not trigger any events (e.g. onChange, onSelect, etc) on the component. Can we have setFieldsValue trigger an event on the component? Any event would do, as long as we can use that event to call further functions.

KrFeher avatar May 22 '19 08:05 KrFeher

Thanks, how do we call further actions when something automatically changed then? An example use case is:

User enters a value in component 'A' component 'A' triggers a setFieldsValue on component 'B' component 'B' needs to change now component 'C' (<--- this is the issue, as no action triggered on component 'B')

KrFeher avatar May 22 '19 08:05 KrFeher