ZopaPublic/react-components

Separate form logic from form element

thegrinder opened this issue ยท 2 comments

<Form /> component consists of the <FormContext.Provider /> and a <form /> element. I believe it would be a good idea to split them. The reason for this is that if we have a multi step form, we'll need to move up the context but keep the <form /> tag within each step. It would also solve the issue of nesting 'forms' which right now results in invalid dom nesting warning

I believe this was addressed on the above PR โ˜๐Ÿป , so closing ๐Ÿ‘๐Ÿป

๐ŸŽ‰ This issue has been resolved in version 3.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€