1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Disable spell checker on config and search input fields

This commit is contained in:
Laurent Cozic 2020-11-16 16:20:26 +00:00
parent adde092ea6
commit 8787d997b2
2 changed files with 5 additions and 0 deletions

View File

@ -466,6 +466,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
onPathChange(event);
}}
value={cmd[0]}
spellCheck={false}
/>
<Button
level={ButtonLevel.Secondary}
@ -483,6 +484,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
onArgsChange(event);
}}
value={cmd[1]}
spellCheck={false}
/>
<div style={{ width: inputStyle.width }}>
{descriptionComp}
@ -511,6 +513,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
onChange={(event: any) => {
onTextChange(event);
}}
spellCheck={false}
/>
<div style={{ width: inputStyle.width }}>
{descriptionComp}
@ -543,6 +546,7 @@ class ConfigScreenComponent extends React.Component<any, any> {
min={md.minimum}
max={md.maximum}
step={md.step}
spellCheck={false}
/>
{descriptionComp}
</div>

View File

@ -128,6 +128,7 @@ function SearchBar(props: Props) {
onFocus={onFocus}
onBlur={onBlur}
onKeyDown={onKeyDown}
spellCheck={false}
/>
<SearchButton onClick={onSearchButtonClick}>
<SearchButtonIcon className={iconName}/>