Skip to content

Commit

Permalink
fix(table): validateTableData do not trigger onValidate event (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaishi authored Jul 25, 2023
1 parent 43fe253 commit d83cc3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/table/hooks/useEditableRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default function useRowEdit(props: PrimaryTableProps) {
if (result === true) return;
allErrorListMap[cellKeys[index]] = result;
});
props.onValidate?.({ result: allErrorListMap });
resolve({ result: allErrorListMap });
}, reject);
});
Expand Down

0 comments on commit d83cc3e

Please sign in to comment.