refactor: improve template input

This commit is contained in:
Carlos Valente
2025-02-18 14:49:18 +01:00
committed by Carlos Valente
parent 5fb30c75c4
commit 6b2e45e7de
4 changed files with 18 additions and 12 deletions
@@ -380,13 +380,13 @@ export default function AutomationForm(props: AutomationFormProps) {
<Panel.Error>{rowErrors?.address?.message}</Panel.Error>
</label>
<label>
Parameters
Arguments
<TemplateInput
{...register(`outputs.${index}.args`)}
value={output.args}
variant='ontime-filled'
size='sm'
placeholder='1'
autoComplete='off'
/>
<Panel.Error>{rowErrors?.args?.message}</Panel.Error>
</label>