Improve default placeholder text on SelectControl (#4442)

This commit is contained in:
Maxime Beauchemin 2018-02-16 15:16:55 -08:00 committed by GitHub
parent dc48673647
commit 88e91e6d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}`,