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

Add inputValue to menuRenderer #1732

Merged
merged 1 commit into from
Oct 24, 2017

Conversation

chronick
Copy link
Contributor

We wish to override the optionRenderer to highlight each search result with the main inputs' query. This means that the option at some level will need access to the input's value. I originally attempted to append the input value to the data by overriding filterOptions, but that broke filtering and selection. This seemed to be the most reasonable way to do it, and does not affect default behavior.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.874% when pulling 5641848 on chronick:option-inputvalue into 196c7bb on JedWatson:master.

@agirton
Copy link
Collaborator

agirton commented May 20, 2017

Hi @chronick thank you for your contribution. While this would be helpful and is a very small change, I want to try and get only critical features for the 1.0 release. We can add merge this after release.

@gwyneplaine gwyneplaine merged commit 8fed74b into JedWatson:master Oct 24, 2017
@gwyneplaine
Copy link
Collaborator

@chronick, thanks for this, merging this in now as its value added and has zero impact on default behaviour.

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.

4 participants