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);
|
||||
}}
|
||||
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}/>
|
||||
|
||||
Reference in New Issue
Block a user