WebDevStudios / nextjs-wordpress-starter

A headless starter for WordPress powered by Next.js.
https://webdevstudios.github.io/nextjs-wordpress-starter/
GNU General Public License v2.0
734 stars 129 forks source link

Forms: Back to the Basics #879

Open gregrickaby opened 2 years ago

gregrickaby commented 2 years ago

As we discussed earlier today, our current form implementation is the very definition of "over-engineered". I would like to rip it all out and start over.

We'll meet on Thursday to discuss next steps.

gregrickaby commented 2 years ago

@itsamoreh @ravewebdev From on our conversation yesterday afternoon, we want to abstract a single component (text-based inputs) to use in <Formik>. This will allow use to have control over the markup and styles, while still keeping the form implementation sane.

Here are next steps:

<Input> component:

Form

Once these two items are in place, we will proceed to updating the comment form, then Gravity Forms. Rebekah is sharing some code with Amor so he can get started.