#83788FormEngine and accent/special characters
Description
Hi,
I use a form in TCA with the type “select -> selectMultipleSideBySide” and “suggest”. It display the two multiple select with the suggest field.In this mode, it doesn’t use the ajax call but the javascript
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.
Reviews 2
Related issues 1
Files 1
History 914
-
Oliver Hader commented and changed tracker
BugFeature priorityMust haveShould have Complexityeasyhard <span data-processor="relativetime" data-value="2018-02-07T11:47:28+00:00" > 02/07/18, 11:47 </span> -
Yohann CERDAN commented <span data-processor="relativetime" data-value="2018-02-07T14:28:14+00:00" > 02/07/18, 14:28 </span>
Ok.
Is there any method to replace the FormEngine.js include in backend to add a custom one (in a clean way)?
-
Jean-Pierre Roy commented <span data-processor="relativetime" data-value="2025-01-28T18:41:03+00:00" > 01/28/25, 18:41 </span>
Hi, seven years later, is there now a clean way to override the filter in SelectBoxFilter? Thank you!
-
Georg Ringer commented and changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2025-04-18T10:29:12+00:00" > 04/18/25, 10:29 </span>
one solution could be to simplify the value and save it in a data attribute and use that for the filter
-
Oliver Bartsch commented and changed attached multi-select-filter.mov <span data-processor="relativetime" data-value="2025-09-30T07:25:29+00:00" > 09/30/25, 07:25 </span>
I also encountered a bug, which is attributable to this filter functionality. See added video.
-
Oliver Bartsch changed Related to #107565 <span data-processor="relativetime" data-value="2025-09-30T07:57:00+00:00" > 09/30/25, 07:57 </span>
-
Oliver Bartsch commented <span data-processor="relativetime" data-value="2025-09-30T07:57:34+00:00" > 09/30/25, 07:57 </span>
Oliver Bartsch wrote in #note-5:
> I also encountered a bug, which is attributable to this filter functionality. See added video.I’ve created a extra issue for this, see #107565.
-
Georg Ringer changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2026-08-06T15:45:46+00:00" > 08/06/26, 15:45 </span> -
Gerrit Code Review pushed patch set 1 for main to change 95325 status
NewUnder Review <span data-processor="relativetime" data-value="2026-08-13T19:17:51+00:00" > 08/13/26, 19:17 </span> -
Gerrit Code Review pushed patch set 2 for main to change 95325 <span data-processor="relativetime" data-value="2026-08-14T22:23:38+00:00" > 08/14/26, 22:23 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 95325 <span data-processor="relativetime" data-value="2026-08-28T10:42:51+00:00" > 08/28/26, 10:42 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 95325 <span data-processor="relativetime" data-value="2026-09-01T08:22:46+00:00" > 09/01/26, 08:22 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95524 <span data-processor="relativetime" data-value="2026-09-01T19:15:26+00:00" > 09/01/26, 19:15 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-01T19:30:09+00:00" > 09/01/26, 19:30 </span>Applied in changeset commit:550c85428ae5a672f7f71d704977f5087e17dfe0.
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.
JS examples: http://andyhu.github.io/transliteration/ & https://github.com/andyhu/transliteration
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”.