Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typeahead): Fix crash with
contenteditable
inputs
Currently the Typeahead module works well with `<input>`s, but throws an error for HTML5 `contenteditable` inputs [1]. This patch fixes this by using the `innerText` property (the one used for contenteditable inputs) when `value` is not available. [1]: http://www.w3schools.com/tags/att_global_contenteditable.asp
- Loading branch information