Add using of slots render function when searching or filtering are happen
Modify FilterOption - provide criteriaRegExp when comparison is a function for better filtering
Fix regular expression creation when inputs special symbols( \ [ ] { } . etc.)
Change computed functions(itemsSearching, itemsFiltering) in useTotalItems.ts to pairs (watcher and ref), because of vue bug(totalItems computed before itemsSearching and itemsFiltering)
When no slot render function provided used old getItemValue function
Before the revision, when the user entered the name of the country, there was no item of the array in result, because the value of "country" stored as a number, not a string. Now it will work correctly.
Slots render functions in searching and filtering
Example:
Before the revision, when the user entered the name of the country, there was no item of the array in result, because the value of "country" stored as a number, not a string. Now it will work correctly.