I opened an issue on github, is a React project

I opened an issue on github, is a React project
0
1 Like

@Gunjan if you know React maybe you can help me or maybe you know someone who knows React? just maybe

It seems to work if you set the type attribute on the renderButton in form.jsx to submit instead of button. I didn’t really test it too much.

renderButton(label) {
  return (
  <button 
  type="submit"
  disabled = {this.validate()}
  className="btn btn-primary">{label}
  </button>
  );
}

Thanks a lot I don’t know why type was set to button haha sorry for this stupid question, of course it has to be submit becouse is a form, I’m ashamed, thanks again @lasjorg

Don’t feel ashamed we all are same , if you are doing mistake means you are learning .
Happy Coding