#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"
buttonSize="M"
buttonType="secondary"
onClick={() => append({ name: '', value: '' })}
onClick={() =>
append({ name: '', value: '' }, { shouldFocus: false })
}
>
<PlusIcon />
Add Custom Parameter