fix(ui): missing translation for string field component

This commit is contained in:
psychedelicious
2025-02-21 14:36:26 +10:00
committed by Kent Keirsey
parent 067aeeac23
commit 1a806739f2
2 changed files with 4 additions and 2 deletions

View File

@@ -1725,6 +1725,8 @@
"description": "Description",
"component": "Component",
"numberInput": "Number Input",
"singleLine": "Single Line",
"multiLine": "Multi Line",
"slider": "Slider",
"both": "Both",
"emptyRootPlaceholderViewMode": "Click Edit to start building a form for this workflow.",

View File

@@ -26,8 +26,8 @@ export const NodeFieldElementStringSettings = memo(
<FormControl>
<FormLabel flex={1}>{t('workflows.builder.component')}</FormLabel>
<Select value={config.component} onChange={onChangeComponent} size="sm">
<option value="input">{t('workflows.builder.input')}</option>
<option value="textarea">{t('workflows.builder.textarea')}</option>
<option value="input">{t('workflows.builder.singleLine')}</option>
<option value="textarea">{t('workflows.builder.multiLine')}</option>
</Select>
</FormControl>
);