mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-05-13 06:44:32 +00:00
Merge branch 'fix-select-filter-typo' of https://github.com/jehartzog/react-bootstrap-table2 into jehartzog-fix-select-filter-typo
This commit is contained in:
@@ -86,7 +86,7 @@ class SelectFilter extends Component {
|
||||
}
|
||||
if (Array.isArray(options)) {
|
||||
options.forEach(({ value, label }) =>
|
||||
optionTags.push(<option key={ label } value={ label }>{ value }</option>));
|
||||
optionTags.push(<option key={ value } value={ value }>{ label }</option>));
|
||||
} else {
|
||||
Object.keys(options).forEach(key =>
|
||||
optionTags.push(<option key={ key } value={ key }>{ options[key] }</option>)
|
||||
|
||||
Reference in New Issue
Block a user