FormEngine and accent/special characters
I use a form in TCA with the type "select -> selectMultipleSideBySide" and "suggest". It display the two multiple select with the suggest field.
FormEngine.SelectBoxFilter.filterin the "FormEngine.js".
But the function "FormEngine.SelectBoxFilter.filter" doesn't convert the words with accent or special characters. Its a "strict" search made with
var matchFilter = new RegExp(filterText, 'i');
For example, if i write "crem..." i want to list the items starting with "crèm...".
The solution is to clean the "filterText" before calling the "new RegExp" to convert the special characters.
#1 Updated by Oliver Hader almost 2 years ago
- Tracker changed from Bug to Feature
- Priority changed from Must have to Should have
- Complexity changed from easy to hard
The requested transliteration to ASCII has to be done on both server and client side. For western languages that seems to be easy, however a generic framework approach is much more difficult to achieve.
This this involves a lot of more changes, I've modified the complexity from "easy" to "hard", the scope to be a "feature" instead of a "bug fix" and also the priority to "should have" instead of "must have".