Skip to content

Compare types and relevant attributes of <input> and related components. #8

@davidmason

Description

@davidmason

Each of these comparisons should be made if the attribute is present in either actual or expected

  • on <input> compare value and defaultValue
  • on <input> compare attribute type
  • on <input type="checkbox"> and <input type="radio">, compare checked and defaultChecked
  • on <option>, compare selected and value
  • on <select>, compare value, defaultValue and multiple

Seems not possible with current shallowRender/react-unit:

  • on <textarea>, compare value and defaultValue

More may be apparent in https://facebook.github.io/react/docs/forms.html

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions