verbal-limeV
Refine3y ago
3 replies
verbal-lime

How to filter null dates

The following code tries to filter the field "endDate" by only null/undefined values but it is not working

const lastWorkingHourList = useSimpleList({
resource: 'employee-working-hours',
filters: {
permanent: [
{
field: 'endDate',
value: null,
operator: 'eq'
}
]
}
});
Was this page helpful?