-
Beta Was this translation helpful? Give feedback.
Answered by
kausik10
Mar 19, 2025
Replies: 1 comment 1 reply
-
|
Hi, The "N/A" filter appears automatically to filter items that have no flags attached. Currently, there is no built-in prop to disable it in However, this behavior comes from the UI library, which is copied into the project and defined in export const DataGridRelationFilteredItemsList = ({ children }: {
children: ReactNode
}) => (
<>
<DataViewRelationFilterList>
<DataViewRelationFilterTrigger action={'unset'}>
<DataGridActiveFilterUI>
{children}
</DataGridActiveFilterUI>
</DataViewRelationFilterTrigger>
</DataViewRelationFilterList>
<DataViewNullFilterTrigger action={'unset'}>
<DataGridActiveFilterUI>
<span className={'italic'}>{dict.datagrid.na}</span>
</DataGridActiveFilterUI>
</DataViewNullFilterTrigger>
</>
)To remove the "N/A" filter, you can either:
Let me know if you need further clarification! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi, It was no the
DataViewNullFilterTriggerthat solved the issue.However, commenting out the
DataGridNullFilterfrom theDataGridRelationFilterControlsremoved theN/Afilter being displayed.