Skip to content

Highlighting the first character if search_contains is false doesn't work as expected #2623

@hanoii

Description

@hanoii

Working for #2618 I found that if you type a first letter of the word, the match works but the highlighting shows another matching letter if any.

  1. Go to http://harvesthq.github.io/chosen/
  2. Type r in the first dropdow
  3. Will match "Central Africa Republic" but will highlight the r in central.

BTW, I also fixed this, see

hanoii/chosen@transliteration...hanoii:highlight-first-word

But it's based on #2618 so waiting for that to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions