Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lists are all bold if item has space #205

Open
paul-test opened this issue Nov 6, 2022 · 0 comments
Open

Lists are all bold if item has space #205

paul-test opened this issue Nov 6, 2022 · 0 comments

Comments

@paul-test
Copy link

paul-test commented Nov 6, 2022

Bug description

My data is 12 hours time, e.g.
12:00 AM
12:15 AM
12:30 AM
......
If I select 12:15 PM and then open the dropdown dialog, all AM of each item are all bold.

Expected result

The font should be normal

Actual result

12:00 AM
12:15 AM
12:30 AM

Steps to reproduce

  1. Set the datasource as string[] and push strings like '12:00 AM', '12:15 AM', '12:30 AM'.
  2. Select 12:15 AM
  3. Click the input and then the list pops up. All 'AM' are bold.

Context

It should be a problem of HighlightPipe.

Your Environment

  • Version used:
  • Browser Name and version:
  • Operating System and version:
  • Link to your project:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant