Skip to content

Commit

Permalink
Patch 5 (#1311)
Browse files Browse the repository at this point in the history
* disable spellcheck, autocorrect and autocapitalize on the filter input

the text entered here are likely to be functions and technical terms and as such spellcheck, autocapitalize and autocorrect would better be disabled.

* Update test snapshot

Co-authored-by: Christian Oliff <[email protected]>
  • Loading branch information
tmcw and coliff authored Mar 17, 2020
1 parent 761aaee commit efc4216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __tests__/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,9 @@ exports[`html nested.input.js 1`] = `
placeholder='Filter'
id='filter-input'
class='col12 block input'
spellcheck='false'
autocapitalize='off'
autocorrect='off'
type='text' />
<div id='toc'>
<ul class='list-reset h5 py1-ul'>
Expand Down
3 changes: 3 additions & 0 deletions src/default_theme/index._
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
placeholder='Filter'
id='filter-input'
class='col12 block input'
spellcheck='false'
autocapitalize='off'
autocorrect='off'
type='text' />
<div id='toc'>
<ul class='list-reset h5 py1-ul'>
Expand Down

0 comments on commit efc4216

Please sign in to comment.