From d1d7a4ae4e833313747fb53f40a336f8725eb0b8 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Fri, 5 Aug 2022 11:16:29 +0200 Subject: [PATCH] Only make first button disabled (#3052) --- src/components/multi-line-input/MultiLineInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/multi-line-input/MultiLineInput.tsx b/src/components/multi-line-input/MultiLineInput.tsx index c42972e01d..101e7d6c74 100644 --- a/src/components/multi-line-input/MultiLineInput.tsx +++ b/src/components/multi-line-input/MultiLineInput.tsx @@ -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} >