Skip to content

Issues with autoCorrect attribute set as property #5436

@ghost

Description

Hey. As far as I can see, the autoCorrect attribute are set as an HTML property.
https://github.com/facebook/react/blob/master/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L194

This can give issues with Input elements. Check this :

  • Chrome 46.0.2464.0: autocorrect in document.createElement('input') === false
  • Safari 8.0.7: autocorrect in document.createElement('input') === false
  • Mobile Safari (iOS 8.4 simulator): autocorrect in document.createElement('input') === true

There are identical issues with some other browsers as well.

This is not tested on iOS 9.x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions