@mindbreaker opened this Issue on September 26th 2022

When the value is typed in a segment, it appears in capital letters. As a value, however, it is then taken over in such a way that only the first letter is written in capital letters.

Issue in forum: https://forum.matomo.org/t/segment-autosuggest-capitalization/47525

Expected Behavior

The value should be displayed in the auto-completion as it should actually be taken over in the field. For example:
If you want to select the country "Austria" it is displayed as "AUSTRIA" in the Autosuggest. But the value is "Austria".

@MatomoForumNotifications commented on September 26th 2022

This issue has been mentioned on Matomo forums. There might be relevant details there:


@bx80 commented on September 27th 2022 Contributor

Hi @mindbreaker, thanks for reporting this. The auto-completion list has a text-transform: uppercase style applied which shows all list items as uppercase even though the underlying value is first letter capital only. This seems unnecessary and it would be better if the displayed list value was consistent when chosen.

I've assigned this issue for prioritization.

@mindbreaker commented on September 27th 2022

OK. I created a pull request:

@bx80 commented on September 28th 2022 Contributor

Thanks for the pull request @mindbreaker, I've assigned it to the next release milestone :+1:

@mindbreaker commented on November 3rd 2022

Thx. @bx80 i see that the merge needs another approval.

This Issue was closed on November 9th 2022
Powered by GitHub Issue Mirror