jcmcneal / react-step-wizard

A modern flexible step wizard component built for React.
MIT License
583 stars 126 forks source link

update function returns error in next Steps #59

Closed sallespro closed 4 years ago

sallespro commented 4 years ago

if i want to capture form data from Step 3, or 4, i use the update function like in the First step below.

But the update function returns Type error : update is not a function

  const update = (e) => {
    props.update(e.target.name, e.target.value);
  };
sallespro commented 4 years ago

i was not declaring the update function for some steps.<Second update={updateForm} />