Only make first button disabled (#3052)

This commit is contained in:
Erik Jan de Wit 2022-08-05 11:16:29 +02:00 committed by GitHub
parent 93df9b98d3
commit d1d7a4ae4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ export const MultiLineInput = ({
onClick={() => remove(index)}
tabIndex={-1}
aria-label={t("common:remove")}
isDisabled={index === fields.length - 1}
isDisabled={index === 0}
>
<MinusCircleIcon />
</Button>