further simplification

This commit is contained in:
Víctor Losada Hernández
2026-10-29 15:08:11 +01:00
parent f38d20540f
commit 4ec73938b4
3 changed files with 5 additions and 5 deletions
@@ -219,7 +219,7 @@ const MetadataEditor = ({
<Combobox trigger='click'
id='combobox-themes'
className='themes-dropdown'
default={currentThemeDisplay}
defaultValue={currentThemeDisplay}
placeholder='Select from below, or enter the Share URL or ID of a brew with the meta:theme tag'
onSelect={(value)=>handleTheme(value)}
onEntry={(e)=>{
@@ -261,7 +261,7 @@ const MetadataEditor = ({
<Combobox trigger='click'
id='combobox-language'
className='language-dropdown'
default={metadata.lang || ''}
defaultValue={metadata.lang || ''}
placeholder='en'
onSelect={(value)=>handleLanguage(value)}
onEntry={(e)=>{
+1 -1
View File
@@ -131,7 +131,7 @@ const TagInput = ({ id, tooltip, label, valuePatterns, values = [], unique = tru
id={id}
trigger='click'
className='tagInput-dropdown'
default=''
defaultValue=''
placeholder={placeholder}
options={label === 'tags' ? suggestionOptions : []}
tooltip={tooltip}