mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
fix #641 typo
This commit is contained in:
parent
e251068657
commit
68264b45ce
@ -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>)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user