Handle no value options in filters (#11351)
Fixes #11323 - see description to reproduce The issue was that the filter was malformed for no value options: <img width="649" alt="Capture d’écran 2025-04-02 à 14 56 25" src="https://github.com/user-attachments/assets/5287c4f8-7eaf-4488-b692-4d7634236d3d" /> causing <img width="333" alt="Capture d’écran 2025-04-02 à 14 56 43" src="https://github.com/user-attachments/assets/aa1b7333-50da-4b7d-979b-70dab9a1ab41" /> after fix: <img width="653" alt="Capture d’écran 2025-04-02 à 14 39 56" src="https://github.com/user-attachments/assets/1777c068-7231-4e14-bc41-84ef7909cf10" />
This commit is contained in:
@ -67,6 +67,6 @@ describe('useColumnDefinitionsFromFieldMetadata', () => {
|
||||
|
||||
const { columnDefinitions } = result.current;
|
||||
|
||||
expect(columnDefinitions.length).toBe(21);
|
||||
expect(columnDefinitions.length).toBe(22);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user