From 57b6ad887612147d86f842395f520c67df9d6cb1 Mon Sep 17 00:00:00 2001 From: Carina Gentiana Pasere <48244789+pasere-smeup@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:22:27 +0100 Subject: [PATCH] f-cell: set maxLength prop for input field, if passed in column cellData --- packages/ketchup/src/f-components/f-cell/f-cell.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ketchup/src/f-components/f-cell/f-cell.tsx b/packages/ketchup/src/f-components/f-cell/f-cell.tsx index ea93fdd484..ca63878332 100644 --- a/packages/ketchup/src/f-components/f-cell/f-cell.tsx +++ b/packages/ketchup/src/f-components/f-cell/f-cell.tsx @@ -532,6 +532,7 @@ function setEditableCell( onInput={onInput} type={type} value={value} + maxLength={column.cellData?.maxLength ?? -1} > ); } else {