BearStudio/formiz

Wrong documentation for currentStep

ivan-dalmet opened this issue · 0 comments

Mistake in useForm() documentation
https://formiz-react.com/docs/core/use-form#currentstep

currentStep from useForm() return the current step object and not only the name.

{
  name: 'myStep',
  label: 'My Step Label',
  index: 0,
  isValid: true,
  isVisited: false,
  isSubmitted: false,
}