The grid (core) · console.warn
a case-insensitive filter value holds a lett...
Printed by The grid (core), prefixed [lattice], since 1.77.0.
Warnings reference › source.elasticsearch.casefold
- Identifier
source.elasticsearch.casefold- Raised by
- The grid (core)
- Since
- 1.77.0
What happened
The grid folds every letter's case; the engines' case_insensitive flag on term and wildcard folds A-Z only. A value such as Zoë is still pushed case-insensitively, and matches ZOË only if the index already holds that exact form of the Ë, so the difference is named once.
The fix
Set caseSensitive: true on the condition, or map the field with a lowercase normalizer so the index folds every letter itself.
The smallest fix
grid.filters.set({ col: 'name', op: 'eq', value: 'Zoë', caseSensitive: true });
Reference
Covered in full at the API reference.