Skip to content

Error React does not recognize the elementAttributes prop on a DOM element when rending Select component #283

@chrismanderson

Description

@chrismanderson

Getting in browser console

Warning: React does not recognize the `elementAttributes` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `elementattributes` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    in div (created by DropdownMenu)
    in div (created by DropdownMenu)
    in div (created by DropdownMenu)
    in DropdownMenu (created by Select)
    in div (created by Select)
    in div (created by Select)
    in Select (created by FormComponent)
    in FormComponent (created by withTheme(FormComponent))
    in withTheme(FormComponent) (created by StateHolder)
    in div (created by StateHolder)
    in div (created by StateHolder)
    in form (created by Form)
    in Form (created by StateHolder)
    in StateHolder (created by ReactExample)
    in div (created by StyleRoot)
    in StyleRoot (created by Wrapper)
    in Wrapper (created by ReactExample)
    in ReactExample

When rendering a Select component. Got this in my own app, then could recreate by cloning the repo and starting the styleguide via yarn styleguide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions