From 48791da8d3737a1d2a1f9425516bb278030b3ca6 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Tue, 10 Dec 2024 09:10:38 +0100 Subject: [PATCH] fix: sync UI button max number validation with the API validation --- .../visual-editor/form/inputs/message/ButtonsInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/visual-editor/form/inputs/message/ButtonsInput.tsx b/frontend/src/components/visual-editor/form/inputs/message/ButtonsInput.tsx index 2a622afde..37ff59a9d 100644 --- a/frontend/src/components/visual-editor/form/inputs/message/ButtonsInput.tsx +++ b/frontend/src/components/visual-editor/form/inputs/message/ButtonsInput.tsx @@ -32,7 +32,7 @@ const ButtonsInput: FC = ({ value, onChange, minInput = 1, - maxInput = 13, + maxInput = 3, disablePayload = false, fieldPath, }) => {