Install
Basic#
note
By default, you'll always need @bedrockstreaming/form-builder installed, it exports the FormBuilder component which will render any form you want in your application.
npm install @bedrockstreaming/form-builderManaging the Form Steps#
tip
You only need state to handle the steps, you can use a solution as simple as useState to provide the next step callback and the currentStepIndex
Using React's Context API
npm install @bedrockstreaming/form-contextUsing react-redux
npm install @bedrockstreaming/form-reduxAdding multiple visual validations feedbacks#
note
You probably don't need it if displaying one validation error at a time is ok for you, you already get the react-hook-form errors props in each of your dictionary fields.
npm install @bedrockstreaming/form-validation-rule-list