daixianceng/formik-material-fields

Error not showing on Submit

Closed this issue · 1 comments

If i have a CheckboxGroupField and don't touch any of the text boxes and then press submit. The errors are not shown. If i check one of the checkboxes and uncheck it then the errors are shown. Is there a way this behaviour could be changed ?

So instead of

const message = this.state.dirty && getIn(errors, field.name);

i need

const message = getIn(errors, field.name);

It would be good if there was a way to override this behaviour

Thanks for your report, v0.0.5 was released, please upgrade