How to stop a name with a "." being auto nested #4712
Unanswered
BatchCodes
asked this question in
General
Replies: 1 comment
-
not possible with our current design and the support with type check (typescript), '.' is a key character for us to convert into array or object. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to stop the data being received by the function passes to
handleSubmit
having thename
s automatically nested if they contain.
?For example in the following snippet (and linked codesandbox)
I would like the object received by the
onSubmit
function to be{"thing.first": "first value", "thing.second": "second value"}
rather than{thing:{first:"first value", second:"second value"}}
Is this possible? Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions