Fix Field ctor

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-03-29 23:16:57 +01:00
parent 19aae087e0
commit 55c2d98571
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ export default class Field extends React.PureComponent {
// All other props pass through to the <input>.
};
constructor() {
super();
constructor(props) {
super(props);
this.state = {
valid: undefined,
feedback: undefined,