fix dynamic secret config edit

This commit is contained in:
Maidul Islam
2024-03-26 22:33:43 -04:00
parent 4a11096ea8
commit 6bd624a0f6

View File

@@ -221,7 +221,7 @@ export const EditDynamicSecretSqlProviderForm = ({
isError={Boolean(error?.message)}
errorText={error?.message}
>
<Input {...field} type="number" />
<Input {...field} type="number" onChange={(el) => field.onChange(parseInt(el.target.value, 10))} />
</FormControl>
)}
/>