formsy-material-ui: Typing in FormsyText doesn't update Form validity

If I have a FormsyText with required=true then typing in the text field does not fire the form’s onValid() and form.state.isValid is false. On when the text field blurs do these update.

So at the moment I can’t enable and disable the form’s submit button based on the form being valid.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 8
  • Comments: 37

Commits related to this issue

Most upvoted comments

Hello there. Sorry for a long silence. My workaround looks like this gist https://gist.github.com/krizka/6be5cd3fd1a200f1dba9de6363dbe63d . Just put it in your project and import instead of FormsyText. I use debouncing here to validate values on input change. Unfortunately, verification on every change is slow, so debouncing helps. @damonmaria I noticed performance problems on mobiles, for which it was made. So debouncing helped here.