You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Returns the values of the fields and auto Validate
getValuesValidate() {
const values = {};
Object.keys(this.state.fields).forEach((fieldName) => {
const field = this.state.fields[fieldName];
if (field) {
values[field.name] = field.value;
}
this.onValueChange(field.name,field.value);
});
return values;
}
I am unable to show validation message on button click. Kindly let me know how can I achieve this.
The text was updated successfully, but these errors were encountered: