Reference to FieldScope in form
Hi,
I have a Use-Case where i'm using a react-table contained in a react-form with row-level and form-level submit actions.
The form_context.value can contain either the entire form or just the values within it's FieldContext.
Adding a value_path would help to distinguish between the case where it contains all of the form's values or just a specific part of them (a row in this case).
https://github.com/tannerlinsley/react-form/blob/498692038ba173dea975f6e1e64cf66fc7ef5d9d/src/hooks/useFieldScope.js#L16
Do you think that it would be a good idea to add a value-path prop here?
EDIT: also, perhaps the useField("contextualized_name") should return a parent_scope_path pointing to the path of the parent FieldScope
P.S. I'm writing in coffeescript, so sorry for all the snake_casing