twisty / formsy-react-components

Bootstrap components for a formsy-react form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React warnings

carlos-sarmiento opened this issue · comments

React is showing the following warnings when using formsy-react-components. Doesn't seem to affect behavior.

When rendering the form:

  • Unknown prop layout on <form> tag

When editing an Input field

  • Input is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component.

Hi @carlos-sarmiento,

Unknown prop fixed in [8342aa4], version 0.10.1 will be released shortly with this included.

For the <Input /> field issue, make sure to pass a value (an empty string will do), and that should fix it (see #66).