Class SearchMatching
java.lang.Object
org.vaadin.firitin.fields.searchselect.SearchMatching
The default matching rule of
SearchSelect, in Java: an item matches
when its search text contains every word of the filter, in any order, ignoring
case and accents ("pk juo" matches "Juoksu – (PK1) kevyt", "paiva" matches
"Päivä"). The browser applies exactly the same rule in JavaScript, so server
side code (lazy data, tests) can filter consistently with the UI.-
Method Summary
-
Method Details
-
matchesAllWords
Whethertextcontains all words offilter(an empty filter matches everything). -
normalize
Lower case without accents: the form texts are compared in.
-