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 <christianoliff@yahoo.com>
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

Lines changed: 3 additions & 0 deletions
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._

Lines changed: 3 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy