#2261 "Value" field is focused with adding the Custom Parameter in a Topic (#2469)

This commit is contained in:
KriKiparoidze 2022-08-22 15:11:53 -05:00 committed by GitHub
parent 5ac52efb7a
commit 6de2eaeab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,9 @@ const CustomParams: React.FC<CustomParamsProps> = ({ isSubmitting }) => {
type="button" type="button"
buttonSize="M" buttonSize="M"
buttonType="secondary" buttonType="secondary"
onClick={() => append({ name: '', value: '' })} onClick={() =>
append({ name: '', value: '' }, { shouldFocus: false })
}
> >
<PlusIcon /> <PlusIcon />
Add Custom Parameter Add Custom Parameter