Skip to content

React does not recognize the initialValue prop on a DOM element #263

@justlearncode

Description

@justlearncode

Warning: React does not recognize the initialValue prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase initialvalue instead. If you accidentally passed it from a parent component, remove it from the DOM element.

I'm receiving the above error when I add {...title} or {...categories} or {...content} to the input tag.

I'm referring to this line in my code.
https://github.com/justlearncode/REACT-REDUX-FORM/blob/master/src/components/posts_new.js#L25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions