Skip to content

Warning: Failed propType: Invalid prop fieldErrors of type array supplied to Fieldset, expected object. Check the render method of Form. #79

@killerswan

Description

This warning message is a puzzle to me:

Warning: Failed propType: Invalid prop `fieldErrors` of type `array` supplied to `Fieldset`, expected `object`. Check the render method of `Form`.

Not sure what's wrong here:

const Mine= React.createClass({
    render() {
        return <Form ref='editor_form' >
            <Fieldset name='set1' >
                <Input name='val1' type='text' />
            </Fieldset>
        </Form>;
    }
});

So do you think this is actually a bug? I've currently got the following set up:

  "dependencies": {
    "commonmark": "^0.25.1",
    "jquery": "^1.11.2",
    "lodash": "^3.10.1",
    "react": "^0.14.8",
    "react-dom": "^0.14.8",
    "react-formable": "^0.7.1",
    "reactable": "^0.11.5"
  },
  "devDependencies": {
    "auto-reload-brunch": "^2.0.0",
    "babel-brunch": "^6.0.4",
    "babel-preset-es2015": "~6.3.13",
    "babel-preset-react": "~6.3.13",
    "brunch": "^2.8.0",
    "clean-css-brunch": "^2.0.0",
    "css-brunch": "^2.6.1",
    "javascript-brunch": "^2.0.0",
    "uglify-js-brunch": "^2.0.1"
  }

Otherwise, if I'm the only one seeing this, any idea what I've missed? 🙀

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions