feat: update custom field input to textarea for better usability; enhance styles for improved display

This commit is contained in:
shuaiplus
2026-05-10 18:17:09 +08:00
parent 2f1b61e883
commit a0d4d7a1ff
4 changed files with 23 additions and 3 deletions
+5 -1
View File
@@ -99,7 +99,11 @@ export default function VaultDialogs(props: VaultDialogsProps) {
) : (
<label className="field">
<span>{t('txt_field_value')}</span>
<input className="input" value={props.fieldValue} onInput={(e) => props.onFieldValueChange((e.currentTarget as HTMLInputElement).value)} />
<textarea
className="input textarea custom-field-textarea"
value={props.fieldValue}
onInput={(e) => props.onFieldValueChange((e.currentTarget as HTMLTextAreaElement).value)}
/>
</label>
)}
</ConfirmDialog>