Disable spellcheck in most locations around the app (places where spellcheck="true" has been specified, I've left it as is)

This commit is contained in:
Caleb Owens 2024-02-15 22:38:30 +00:00 committed by Kiril Videlov
parent 78053bb3c1
commit 4570a82256
4 changed files with 4 additions and 2 deletions

View File

@ -163,7 +163,6 @@
<TextBox <TextBox
icon="filter" icon="filter"
placeholder="Search" placeholder="Search"
spellcheck={false}
on:input={(e) => textFilter$.next(e.detail)} on:input={(e) => textFilter$.next(e.detail)}
/> />
<div bind:this={contents} class="content"> <div bind:this={contents} class="content">

View File

@ -134,6 +134,7 @@
use:focusTextareaOnMount use:focusTextareaOnMount
on:input={useAutoHeight} on:input={useAutoHeight}
on:focus={useAutoHeight} on:focus={useAutoHeight}
spellcheck={false}
class="commit-box__textarea text-base-body-13" class="commit-box__textarea text-base-body-13"
rows="1" rows="1"
disabled={isGeneratingCommigMessage} disabled={isGeneratingCommigMessage}

View File

@ -7,6 +7,7 @@
export let rows = 4; export let rows = 4;
export let id: string | undefined = undefined; export let id: string | undefined = undefined;
export let disabled = false; export let disabled = false;
export let spellcheck = false;
export let kind: 'default' | 'plain' = 'default'; export let kind: 'default' | 'plain' = 'default';
@ -22,6 +23,7 @@
{placeholder} {placeholder}
{required} {required}
{rows} {rows}
{spellcheck}
on:input={(e) => dispatch('input', e.currentTarget.value)} on:input={(e) => dispatch('input', e.currentTarget.value)}
on:change={(e) => dispatch('change', e.currentTarget.value)} on:change={(e) => dispatch('change', e.currentTarget.value)}
/> />

View File

@ -16,7 +16,7 @@
export let noselect = false; export let noselect = false;
export let selectall = false; export let selectall = false;
export let element: HTMLElement | undefined = undefined; export let element: HTMLElement | undefined = undefined;
export let spellcheck = true; export let spellcheck = false;
const dispatch = createEventDispatcher<{ input: string; change: string }>(); const dispatch = createEventDispatcher<{ input: string; change: string }>();
</script> </script>