0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 04:12:47 +00:00

add placeholder to input

This commit is contained in:
Gazook89
2022-11-24 23:33:04 -06:00
parent ce732778bb
commit e1ff34ebaa
2 changed files with 8 additions and 2 deletions

View File

@@ -238,6 +238,7 @@ const MetadataEditor = createClass({
<Combobox trigger='click'
className='language-dropdown'
default={this.props.metadata.lang || ''}
placeholder='en'
onSelect={(value)=>this.handleLanguage(value)}
onEntry={(e)=>{this.handleFieldChange('lang', e);}}
options={listLanguages()}