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

Added functionality to mark matched search term #6

Merged
merged 4 commits into from
Feb 4, 2021

Conversation

frg
Copy link

@frg frg commented Feb 4, 2021

Added functionality to mark matched search term with the HTML tag mark. The option is off by default to avoid breaking changes.

src/virtual-select.js Outdated Show resolved Hide resolved
docs/assets/script.js Outdated Show resolved Hide resolved
Copy link
Owner

@sa-si-dev sa-si-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution.

Please check my review comments.

@sa-si-dev
Copy link
Owner

If you have interest, you can work on below feature.

#5

@frg
Copy link
Author

frg commented Feb 4, 2021

I've updated the pr with the changes you suggested. Thanks for taking the time to review this!

@frg
Copy link
Author

frg commented Feb 4, 2021

If you have interest, you can work on below feature.

#5

I think I'll work on #4 first as that's a feature that I'm also looking for if that's okay.

@frg frg requested a review from sa-si-dev February 4, 2021 16:01
@sa-si-dev
Copy link
Owner

I have already implemented #4

I will check in it soon.

@frg
Copy link
Author

frg commented Feb 4, 2021

I have already implemented #4

I will check in it soon.

Perfect! I'll work on the other issue when I get some time.

@sa-si-dev
Copy link
Owner

I have already implemented #4
I will check in it soon.

Perfect! I'll work on the other issue when I get some time.

Thanks

@sa-si-dev
Copy link
Owner

I've updated the pr with the changes you suggested. Thanks for taking the time to review this!

I will check and approve

@sa-si-dev sa-si-dev merged commit f00843c into sa-si-dev:master Feb 4, 2021
@sa-si-dev
Copy link
Owner

@frg I have moved the logic to set <mark> element, from `setSearchValue()' to 'renderOptions()' method, to improve performance.

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

Successfully merging this pull request may close these issues.

None yet

2 participants