Files
react/fixtures/dom
Brandon Dail 80411ea9b4 Default to first non-disabled option for select elements (#10456)
* Default to first non-disabled option for select

Instead of defaulting to the first option for a select element, which could be a disabled option, we find the first non-disabled option available while we looping through the options. If no option matches, set the first non-disabled option as selected.

* Add ReactDOMSelect test for defaulting to non-disabled options

* Add test fixtures to cover disabled selected options

* Fix bad merge
2017-09-01 13:34:28 -07:00
..
2017-01-06 17:14:50 -05:00

DOM Fixtures

A set of DOM test cases for quickly identifying browser issues.

Setup

To reference a local build of React, first run npm run build at the root of the React project. Then:

cd fixtures/dom
npm install
npm start

The start command runs a script that copies over the local build of react into the public directory.