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

[React] searchBox & defaultRefinement #1826

Closed
olance opened this issue Jan 12, 2017 · 0 comments
Closed

[React] searchBox & defaultRefinement #1826

olance opened this issue Jan 12, 2017 · 0 comments
Assignees

Comments

@olance
Copy link
Contributor

olance commented Jan 12, 2017

Do you want to request a feature or report a bug?
Bug

Bug: What is the current behavior?
Using <SearchBox defaultRefinement="hi" />, the search box remains empty on page load.

Bug: What is the expected behavior?
The search box should be initialized with text "hi"

What project are you opening an issue for?
react-instantsearch

What is the version you are using? Always use the latest one before opening a bug issue.
Latest

@vvo vvo self-assigned this Jan 12, 2017
vvo pushed a commit that referenced this issue Jan 12, 2017
@vvo vvo closed this as completed in #1829 Jan 16, 2017
vvo added a commit that referenced this issue Jan 16, 2017
* fix(connectSearchBox): handle `defaultRefinement`

fixes #1826

* add storybook story
vvo pushed a commit that referenced this issue Jan 17, 2017
<a name="2.2.0"></a>
# [2.2.0](v2.1.0...v2.2.0) (2017-01-17)

### Bug Fixes

* **clear:** clearing wasn't working with too+ same type facets selected (#1820) ([a9a2364](a9a2364))
* **connectSearchBox:** handle `defaultRefinement` (#1829) ([7a730e2](7a730e2)), closes [#1826](#1826)
* **Instantsearch:** Update all props on InstantSearch (#1828) ([2ed9b49](2ed9b49))
* **InstantSearch:** add specific `react-instantsearch ${version}` agent (#1844) ([a1113bc](a1113bc))
* **SFFV:** correct propTypes and add missing default values (#1845) ([a4c1b31](a4c1b31))
* **test:** add missing Snippet and Highliter snapshot ([4accce5](4accce5))
* **widgets:** replace setImmediate use with Promise use when update is needed (#1811) ([17e2497](17e2497))

### Features

* **Menu, connectMenu:** add search for facet values (#1822) ([a6c513e](a6c513e))
* **snippet:** add a snippet widget to be able to highlight snippet results (#1797) ([2aecc40](2aecc40))
* **widgets:** add transformItems to be able to sort and filter (#1809) ([ba539f0](ba539f0))
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

3 participants