Project

General

Profile

Actions

Bug #15747

closed

Typeahead does not work with special character

Added by Philipp Gröbelbauer about 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
10.03.2023
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Discuss:
Prio Planung:
No
Vote:

Description

Wenn das Label des typeaheads ein Sonderzeichen wie das ć im Screenshot enthält, dann kann man das Form nicht speichern.
Es kommt dann eine 'Form incomplete' Meldung.


Files

clipboard-202303081018-exfwl.png View clipboard-202303081018-exfwl.png 15 KB Philipp Gröbelbauer, 08.03.2023 10:18
clipboard-202303091410-vsy4k.png View clipboard-202303091410-vsy4k.png 5.51 KB Pascal Rössler, 09.03.2023 14:10
clipboard-202303101004-sfpfd.png View clipboard-202303101004-sfpfd.png 38.3 KB Pascal Rössler, 10.03.2023 10:04

Subtasks 1 (0 open1 closed)

Bug #15773: TypeAhead missing check type warningClosedCarsten Rose10.03.2023

Actions
Actions #1

Updated by Pascal Rössler about 1 year ago

  • Assignee changed from Support: Web to Pascal Rössler
Actions #2

Updated by Pascal Rössler about 1 year ago

  • Assignee changed from Pascal Rössler to Support: Web
Actions #3

Updated by Pascal Rössler about 1 year ago

  • Assignee changed from Support: Web to Pascal Rössler
Actions #4

Updated by Pascal Rössler about 1 year ago

Ausgangslage
  • Wenn bei einem TypeAhead 'alnumx' als Checktype ausgewaehlt wurde, erzeugt das Zeichen 'ć' die Meldung 'Form is incomplete'.
  • Wenn bei einem TypeAhead 'allbut/all' als Checktype ausgewaehlt wurde, kann das Form, auch mit dem Zeichen 'ć', problemlos gespeichert werden.
  • Wenn bei einem normalen Text FormElement 'alnumx' als Checktype ausgewaehlt wurde, erzeugt das Zeichen 'ć' die Meldung 'Form is incomplete' + folgenden Hinweis.

CheckType 'auto' Verhalten
  • normales Text FormElement
    • wenn der Check Type auf 'auto' gesetzt wurde und das Zeichen 'ć' im Value enthalten ist, wird automatisch der Check Type auf 'allbut/all' gesetzt.
  • TypeAhead Text FormElement
    • wenn der Check Type auf 'auto' gesetzt wurde und das Zeichen 'ć' im Value enthalten ist, wird automatisch der Check Type auf 'alnumx' gesetzt.
To-Do
  • CheckType 'auto' Verhalten von TypeAhead FormElement anpassen, sodass automatisch auf 'all/allbut' anstatt 'alnumx' gesetzt wird.
  • Form Validations Meldung wie oben im Screenshot auch bei TypeAhead FormElement zum funktioneren bringen. (Allowed Characters:...)
  • ('PATTERN_ALNUMX' Konstante mit zusaetzlichen Sonderzeichen erweitern)
Fragen
  • Soll die Konstante 'PATTERN_ALNUMX' mit weiteren Sonderzeichen wie 'ć' erweitert werden, wenn ja welche?
    const PATTERN_ALNUMX = '^[@\-_\.,;: \/\(\)a-zA-Z0-9ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿçß]*$';
    const PATTERN_DIGIT = '^[\d]*$';
    const PATTERN_NUMERICAL = '^[\d.+-]*$';
    const PATTERN_EMAIL = '^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})?$';
    const PATTERN_ALLBUT = '^[^\[\]{}%\\\\#]*$';
    const PATTERN_ALL = '.*';
    
Actions #5

Updated by Pascal Rössler about 1 year ago

Folgende Zeichen wurden der Konstante 'PATTERN_ALNUMX' hinzugefügt.

const PATTERN_ALNUMX = '^[@\-_\.,;: \/\(\)a-zA-Z0-9ÀÈÌÒÙàèìòùÁĆÉÍÓÚÝáćéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿçČčĐ𩹮žß]*$';
Actions #6

Updated by Pascal Rössler about 1 year ago

  • Status changed from New to Ready to sync (develop)
Actions #7

Updated by Pascal Rössler 12 months ago

  • Assignee changed from Pascal Rössler to Carsten Rose
Actions #8

Updated by Carsten Rose 9 months ago

  • Status changed from Ready to sync (develop) to Closed
  • Target version changed from 411 to 23.6.0
Actions

Also available in: Atom PDF