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
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
I create this issue not in tcomb-validation as don't have time to check this library separately. Probably it is validation library issue but might be form as well.
My goal is getting error messages (or at least information which field have an error) from getValue(true).
I have schema like
var Positive = t.subtype(t.Num, function(n) {
return n > 0;
});
var BillingSubscriptionFormModel = t.struct({
subscriptionType: t.enums({
monthly: 'Monthly',
yearly: 'Yearly'
}),
attendants: Positive
});
Later in code, I call created form by ref: this.refs.form.getValue(true);.
Resulting ValidationResult have ValidationErrors with empty paths.
The text was updated successfully, but these errors were encountered:
I create this issue not in tcomb-validation as don't have time to check this library separately. Probably it is validation library issue but might be form as well.
My goal is getting error messages (or at least information which field have an error) from getValue(true).
I have schema like
Later in code, I call created form by ref:
this.refs.form.getValue(true);
.Resulting ValidationResult have ValidationErrors with empty paths.
The text was updated successfully, but these errors were encountered: