Unknown props message in console when using redux form

im using a reduction form for an application reaction. im encountering this warning in console while rendering form

warning: Unknown props `initialValue`, `autofill`, `onUpdate`, `valid`, `invalid`, `dirty`, `pristine`, `active`, `touched`, `visited`, `autofilled` on <input> tag. Remove these props from the element.

how to resolve this warning in the form of reduction

+4
source share
2 answers

React 15.2.0, . Redux , , , . - GitHub, . , .

+6
const renderField = field => (
  <div>
    <input {...field.input}/>
                 // ^^^^^^------------------ THAT is all you have to add. 👍
    {field.touched && field.error && <span>{field.error}</span>}
  </div>
)
+1

Source: https://habr.com/ru/post/1648476/


All Articles