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

How to highlight words of two different data lists with different color in the same inputfield? #26

Open
QaisarRajput opened this issue Feb 21, 2015 · 3 comments

Comments

@QaisarRajput
Copy link

sumthing like

source1: [
{value: 'alex', uid: 'user:1'},
{value: 'andrew', uid: 'user:2'},
],
source2: [
{value: 'angry birds', uid: 'game:5'},
{value: 'assault', uid: 'game:3'}
],

i need to use one input field and want to highlight words from each list differently

Great Resource ! Thanks a Load

@QaisarRajput QaisarRajput changed the title How to highlight words of two different data lists with different color in the say inputfield? How to highlight words of two different data lists with different color in the same inputfield? Feb 21, 2015
@ivirabyan
Copy link
Owner

You can't have two different sources of data. You have to just merge them together into one source (you can use icons to distinguish them).
Changing highlighting color for particular type of mention (game for example) is not supported now, but it would be great to implement this.

@alexanderdickson
Copy link

+1 I would need this too, for mentions for users and hashtags.

@memmaina
Copy link

yeah, two data-source would be very ideal

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

No branches or pull requests

5 participants
@alexanderdickson @ivirabyan @memmaina @QaisarRajput and others