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:
parent
adde092ea6
commit
8787d997b2
@ -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>
|
||||
|
@ -128,6 +128,7 @@ function SearchBar(props: Props) {
|
||||
onFocus={onFocus}
|
||||
onBlur={onBlur}
|
||||
onKeyDown={onKeyDown}
|
||||
spellCheck={false}
|
||||
/>
|
||||
<SearchButton onClick={onSearchButtonClick}>
|
||||
<SearchButtonIcon className={iconName}/>
|
||||
|
Loading…
Reference in New Issue
Block a user