0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 13:02:43 +00:00
This commit is contained in:
Trevor Buckner
2023-03-21 16:10:48 -04:00
parent 1ec08bb1fa
commit eaad46b6bc
3 changed files with 7 additions and 6 deletions

View File

@@ -255,9 +255,10 @@ const MetadataEditor = createClass({
default={this.props.metadata.lang || ''}
placeholder='en'
onSelect={(value)=>this.handleLanguage(value)}
onEntry={(e)=> { e.target.setCustomValidity(''); //Clear the validation popup while typing
debouncedHandleFieldChange('lang', e);
}}
onEntry={(e)=>{
e.target.setCustomValidity(''); //Clear the validation popup while typing
debouncedHandleFieldChange('lang', e);
}}
options={listLanguages()}
autoSuggest={{
suggestMethod : 'startsWith',