Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

md-contact-chips add md-highlight-flags #3182

Closed
schmkr opened this issue Jun 9, 2015 · 3 comments
Closed

md-contact-chips add md-highlight-flags #3182

schmkr opened this issue Jun 9, 2015 · 3 comments
Assignees
Milestone

Comments

@schmkr
Copy link

schmkr commented Jun 9, 2015

When the search function bound to the md-contacts attribute is case insensitive (like the example in the documentation), the md-highlight-text in MD_CONTACT_CHIPS_TEMPLATE is still case sensitive. It would be great if it was possible to define the md-highlight-flags.

@Frank3K
Copy link
Contributor

Frank3K commented Aug 8, 2015

+1

topherfangio added a commit that referenced this issue Aug 21, 2015
Contact Chips currently allows the use of `md-highlight-text` to
match the search text. Users have requested we add
`md-highlight-flags` as well so that the highlighted text can
match the search field parameters.

Mainly, if a match is found with case-insensitive search, it
would be nice if the highlight text was also case-insensitive.

fixes #3182
topherfangio added a commit that referenced this issue Aug 21, 2015
Contact Chips currently allows the use of `md-highlight-text` to
match the search text. Users have requested we add
`md-highlight-flags` as well so that the highlighted text can
match the search field parameters.

Mainly, if a match is found with case-insensitive search, it
would be nice if the highlight text was also case-insensitive.

fixes #3182
topherfangio added a commit that referenced this issue Aug 24, 2015
Contact Chips currently allows the use of `md-highlight-text` to
match the search text. Users have requested we add
`md-highlight-flags` as well so that the highlighted text can
match the search field parameters.

Mainly, if a match is found with case-insensitive search, it
would be nice if the highlight text was also case-insensitive.

fixes #3182
kennethcachia pushed a commit to kennethcachia/material that referenced this issue Sep 23, 2015
Contact Chips currently allows the use of `md-highlight-text` to
match the search text. Users have requested we add
`md-highlight-flags` as well so that the highlighted text can
match the search field parameters.

Mainly, if a match is found with case-insensitive search, it
would be nice if the highlight text was also case-insensitive.

fixes angular#3182. closes angular#4278.
@leocaseiro
Copy link
Contributor

I took a while to find out how works, set md-highlight-flags="i"

Eq:

<span md-highlight-flags="i" md-highlight-text="searchText">{{label}}</span>

@arunsakthivel96
Copy link

How to use the multiple md-autocomplete

With a json data example

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants