Skip to content

Commit

Permalink
Merge pull request #302 from alessandrojcm/297-row-disappears-post-fi…
Browse files Browse the repository at this point in the history
…lter-with-null

Row disappears post filter with null
  • Loading branch information
alessandrojcm authored Apr 13, 2024
2 parents f2214a0 + 00c8fd8 commit ce3f3d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ export const MRT_FilterTextInput = <TData extends MRT_RowData>({
popoverProps={{ withinPortal: columnFilterDisplayMode !== 'popover' }}
{...dateInputProps}
className={clsx(className, dateInputProps.className)}
onChange={(event) => commonProps.onChange(event === null ? '' : event)}
ref={(node) => {
if (node) {
filterInputRefs.current[`${column.id}-${rangeFilterIndex ?? 0}`] =
Expand Down

0 comments on commit ce3f3d9

Please sign in to comment.