We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab05705 commit d4ee613Copy full SHA for d4ee613
1 file changed
src/SimpleSelect.js
@@ -44,6 +44,7 @@ class SimpleSelect extends React.Component {
44
validOptions: optionValidation.valid,
45
invalidReason: optionValidation.reason,
46
currentOptionSelected: defaultValue,
47
+ //add in initial currentOptionIndex
48
legendLabel: props.legendLabel ? props.legendLabel : "",
49
selectOpen: false,
50
options: optionsWithIndexProp,
0 commit comments