Fix regressions found by cypress tests

This commit is contained in:
SleepWalker
2019-12-07 23:53:22 +02:00
parent 8734956c79
commit c82468333f
9 changed files with 36 additions and 23 deletions

View File

@@ -3,8 +3,9 @@ import { MessageDescriptor } from 'react-intl';
import FormComponent from './FormComponent';
import FormError from './FormError';
import { ValidationError } from './FormModel';
type Error = string | MessageDescriptor;
type Error = ValidationError | MessageDescriptor;
export default class FormInputComponent<P, S = {}> extends FormComponent<
P & {