fix(SubmitButton): wrong handling of onClick event on submit button

Stephen requested to merge remove-submitAction into master
  • changed submitAction function

Merge request reports