Enhancement: ignore diacritics, support multiple substring matching for UI filtering (#13021)

This commit is contained in:
shamoon authored and GitHub committed 2026-06-17 05:58:55 -07:00
1 parent ad1b54ce88
commit 8bd620d8ab
15 files changed
+102 -7

No files matched your search

@@ -112,6 +112,15 @@ describe('SelectComponent', () => {
expect(createNewVal).toEqual('baz')
})
it('should search items by independent normalized terms', () => {
expect(
component.searchFn('tax 26', { id: 11, name: 'Tax\u00e9s 2026' })
).toBeTruthy()
expect(
component.searchFn('tax receipt', { id: 11, name: 'Tax\u00e9s 2026' })
).toBeFalsy()
})
it('should clear search term on blur after delay', fakeAsync(() => {
const clearSpy = jest.spyOn(component, 'clearLastSearchTerm')
component.onBlur()