You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Desktop: Disable spell checker on config and search input fields
This commit is contained in:
@@ -466,6 +466,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
|
|||||||
onPathChange(event);
|
onPathChange(event);
|
||||||
}}
|
}}
|
||||||
value={cmd[0]}
|
value={cmd[0]}
|
||||||
|
spellCheck={false}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
level={ButtonLevel.Secondary}
|
level={ButtonLevel.Secondary}
|
||||||
@@ -483,6 +484,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
|
|||||||
onArgsChange(event);
|
onArgsChange(event);
|
||||||
}}
|
}}
|
||||||
value={cmd[1]}
|
value={cmd[1]}
|
||||||
|
spellCheck={false}
|
||||||
/>
|
/>
|
||||||
<div style={{ width: inputStyle.width }}>
|
<div style={{ width: inputStyle.width }}>
|
||||||
{descriptionComp}
|
{descriptionComp}
|
||||||
@@ -511,6 +513,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
|
|||||||
onChange={(event: any) => {
|
onChange={(event: any) => {
|
||||||
onTextChange(event);
|
onTextChange(event);
|
||||||
}}
|
}}
|
||||||
|
spellCheck={false}
|
||||||
/>
|
/>
|
||||||
<div style={{ width: inputStyle.width }}>
|
<div style={{ width: inputStyle.width }}>
|
||||||
{descriptionComp}
|
{descriptionComp}
|
||||||
@@ -543,6 +546,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
|
|||||||
min={md.minimum}
|
min={md.minimum}
|
||||||
max={md.maximum}
|
max={md.maximum}
|
||||||
step={md.step}
|
step={md.step}
|
||||||
|
spellCheck={false}
|
||||||
/>
|
/>
|
||||||
{descriptionComp}
|
{descriptionComp}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ function SearchBar(props: Props) {
|
|||||||
onFocus={onFocus}
|
onFocus={onFocus}
|
||||||
onBlur={onBlur}
|
onBlur={onBlur}
|
||||||
onKeyDown={onKeyDown}
|
onKeyDown={onKeyDown}
|
||||||
|
spellCheck={false}
|
||||||
/>
|
/>
|
||||||
<SearchButton onClick={onSearchButtonClick}>
|
<SearchButton onClick={onSearchButtonClick}>
|
||||||
<SearchButtonIcon className={iconName}/>
|
<SearchButtonIcon className={iconName}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user