(this._nestedDOMNode = node)} />
This should synchronize in both direction with the "Controlled".
Open the select
Select "1"
Attempt to reselect "Please select an item"
The initial picked option should be "Please select an item", however
it should not be a selectable option.
The initial picked option value should "0": the first non-disabled
option.
Open the select
Select "baz" or "foo"
Click the "Reset" button
The select should be reset to the initial value, "bar"
Select any combination of options
Click the "Reset" button
The select should be reset to the initial values "foo" and "baz"
First selected option should be visible
Select any option
Option should be set
No options should be selected.
Notes: This happens if size is assigned after
options are selected. The select element picks the first item by
default, then it is expanded to show more options when{' '}
size is assigned, preserving the default selection.
This was introduced in React 16.0.0 when options were added before
select attribute assignment.
);
}
}
export default SelectFixture;