Skip to content

Commit

Permalink
finos#1073 use unformatted initial value for input-cell renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidzm13 committed Jan 2, 2024
1 parent d9c614a commit 5d09a9c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ export const InputCell = ({
row,
}: TableCellRendererProps) => {
const dataIdx = columnMap[column.name];
const {
align = "left",
clientSideEditValidationCheck,
valueFormatter,
} = column;
const { align = "left", clientSideEditValidationCheck } = column;

const { warningMessage, ...editProps } = useEditableText({
initialValue: valueFormatter(row[dataIdx]),
initialValue: row[dataIdx],
onCommit,
clientSideEditValidationCheck,
});
Expand Down

0 comments on commit 5d09a9c

Please sign in to comment.