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

feat(contactChips): Add md-highlight-flags support. #4278

Closed
wants to merge 1 commit into from

Conversation

topherfangio
Copy link
Contributor

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.

Also, slightly refactor tests.

fixes #3182

@topherfangio topherfangio added the needs: review This PR is waiting on review from the team label Aug 21, 2015
@topherfangio topherfangio added this to the 0.12.0 milestone Aug 21, 2015
@topherfangio
Copy link
Contributor Author

@typotter Can you review this super-fast and make sure this is the solution we discussed at the summit?

@typotter
Copy link
Contributor

lgtm, but please add docs for the new parameter to chips.

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 topherfangio added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Aug 24, 2015
@topherfangio topherfangio modified the milestones: 0.11.0, 0.12.0 Aug 24, 2015
@topherfangio topherfangio deleted the fix-chips-highlight-3182 branch August 31, 2015 15:45
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-contact-chips add md-highlight-flags
2 participants