Skip to content

Fix autocomplete for long items

Himanshu Kapoor requested to merge 443560-maxlen-fix into master

What does this MR do and why?

Fix autocomplete for long items

Previously autocomplete dropdown would close after entering 20 characters. This commit increases that limit to 100.

Changelog: fixed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Video Screen Recording 2024-03-19 at 17.22.00.mov Screen Recording 2024-03-19 at 17.21.07.mov
Change Dropdown disappears after 20 characters. Dropdown does not disappear.

How to set up and validate locally

  1. Create a user or a group with at least 25 characters.
  2. Try to reference that user or group in comments.
  3. Previously, the dropdown would close after 20 characters, but now it should not.

Related to #443560 (closed)

Edited by Himanshu Kapoor

Merge request reports