mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
feat: update custom field input to textarea for better usability; enhance styles for improved display
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user