Skip to content

Commit

Permalink
Merge pull request #1770 from smeup/fix
Browse files Browse the repository at this point in the history
f-cell: set maxLength prop for input field, if passed in column cellData
  • Loading branch information
lucafoscili authored Jan 25, 2024
2 parents 90f653f + 57b6ad8 commit 0d7e8f2
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 0d7e8f2

Please sign in to comment.