react-auto-form icon indicating copy to clipboard operation
react-auto-form copied to clipboard

Support form chunks use case

Open insin opened this issue 8 years ago • 0 comments

Sometimes you just want an onChange which handles a chunk of form fields rather than encompassing the entire form., e.g. when rolling your own support for data held in objects or arrays.

You might also have nested AutoForm components to allow for specialised onChange handling, where only the top level form defines an onSubmit.

Allowing the component rendered by AutoForm to be customised and having its onChange call event.stopPropagation() should be enough to support this use case.

insin avatar May 24 '16 12:05 insin