Reactjs – How can I make the next button disabled if the user didn't complete the first form?
so I'm creating a multi-step-form using shadcn, react-hook-form and nextjs. How can I disable the next button if the user didn't complete the first part of the form? what I did here is, I created a two button that will…