mirror of https://github.com/apache/superset.git
Improve default placeholder text on SelectControl (#4442)
This commit is contained in:
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}`,
|
||||
|
|
Loading…
Reference in New Issue