Skip to content

Add inputValue to menuRenderer#1732

Merged
gwyneplaine merged 1 commit intoJedWatson:masterfrom
chronick:option-inputvalue
Oct 24, 2017
Merged

Add inputValue to menuRenderer#1732
gwyneplaine merged 1 commit intoJedWatson:masterfrom
chronick:option-inputvalue

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