mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
Improve default placeholder text on SelectControl (#4442)
This commit is contained in:
committed by
GitHub
parent
dc48673647
commit
88e91e6d8f
@@ -106,7 +106,7 @@ export default class SelectControl extends React.PureComponent {
|
||||
}
|
||||
render() {
|
||||
// Tab, comma or Enter will trigger a new option created for FreeFormSelect
|
||||
const placeholder = this.props.placeholder || t('Select %s', this.state.options.length);
|
||||
const placeholder = this.props.placeholder || t('%s option(s)', this.state.options.length);
|
||||
const selectProps = {
|
||||
multi: this.props.multi,
|
||||
name: `select-${this.props.name}`,
|
||||
|
||||
Reference in New Issue
Block a user