Thoughts on having <form.Provider> behave as form <form> #575
-
The current way is like this <form.Provider>
<form onSubmit={...}>
{...}
</form>
<form.Provider> Would it be a bad idea to do this? <form.Provider as="form" onSubmit={...}>
{...}
<form.Provider> |
Beta Was this translation helpful? Give feedback.
Answered by
crutchcorn
Jan 22, 2024
Replies: 1 comment
-
There's a lot of challenges with doing things this way. It means we'd need to allow form props to be passed, it wouldn't be headless, and more. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
linhub15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a lot of challenges with doing things this way. It means we'd need to allow form props to be passed, it wouldn't be headless, and more.