Skip to content

Commit efc4216

Browse files
tmcwcoliff
andauthored
Patch 5 (#1311)
* 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]>
1 parent 761aaee commit efc4216

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

__tests__/__snapshots__/test.js.snap

+3
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,9 @@ exports[`html nested.input.js 1`] = `
15491549
placeholder='Filter'
15501550
id='filter-input'
15511551
class='col12 block input'
1552+
spellcheck='false'
1553+
autocapitalize='off'
1554+
autocorrect='off'
15521555
type='text' />
15531556
<div id='toc'>
15541557
<ul class='list-reset h5 py1-ul'>

src/default_theme/index._

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
placeholder='Filter'
2222
id='filter-input'
2323
class='col12 block input'
24+
spellcheck='false'
25+
autocapitalize='off'
26+
autocorrect='off'
2427
type='text' />
2528
<div id='toc'>
2629
<ul class='list-reset h5 py1-ul'>

0 commit comments

Comments
 (0)