insin / insin/react-auto-form

Support form chunks use case

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
116
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.