Announcement

Collapse
No announcement yet.

UserName autocomplete issue in stream

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UserName autocomplete issue in stream

    In our company we have userNames like this:
    1. one letter is first letter of a name
    2. dot
    3. surname
    All in lower case. Like my userName on this forum

    When I start typing @a it shows some userNames that start from letter a, but when I enter dot the autocomplete list becomes hidden and not displayed any more whichever text I enter further.

    I have investigated stream panel code and found this regex is used /(^|\s)@(\w*)$/. But on back-end when mentions are processed /(@[\w@.-]+)/ is used.
    I combined these two and found out that /(^|\s)@([\w.]+)$/ suites our needs.​

    Espo version: 8.3.6
    DB: Mariadb 10.11.8
    System: Ubuntu 22.04

  • #2
    Fix: https://github.com/espocrm/espocrm/c...0c48b3ef7e7cd8

    Comment

    Working...
    X