-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(searchBox): allow searchBox to reuse an
<input>
This no longer uses React for the `input` display (it still uses it for the optionnal `PoweredBy` widget). All HTML attributes already set on the `input` are kept, but sensible defaults (like `autocorrect`, etc) are added. It listens to the `keyup` event only to start the search. There is no `render` method because it does not need to be updated on results, only triggering it.
- Loading branch information
1 parent
53605d9
commit e820cc3
Showing
5 changed files
with
48 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters