Skip to content

Commit

Permalink
f-cell: set maxLength prop for input field, if passed in column cellData
Browse files Browse the repository at this point in the history
  • Loading branch information
pasere-smeup committed Jan 25, 2024
1 parent 90f653f commit 57b6ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ketchup/src/f-components/f-cell/f-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ function setEditableCell(
onInput={onInput}
type={type}
value={value}
maxLength={column.cellData?.maxLength ?? -1}
></input>
);
} else {
Expand Down

0 comments on commit 57b6ad8

Please sign in to comment.