Skip to content

Commit

Permalink
fix(#134): spellcheck prop not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
BearToCode committed Nov 10, 2024
1 parent ddab992 commit 4dbf7e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/carta-md/src/lib/internal/components/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@
</div>

<textarea
spellcheck="false"
class="carta-font-code"
aria-multiline="true"
aria-describedby="editor-unfocus-suggestion-{simpleUUID}"
spellcheck={props.spellcheck === true}
tabindex="0"
{placeholder}
{...props}
Expand Down
1 change: 0 additions & 1 deletion packages/carta-md/src/lib/internal/textarea-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
interface BaseTextAreaProps {
id?: string;
name?: string;
spellCheck?: boolean;
autoCapitalize?: string;
autoComplete?: string;
autoFocus?: boolean;
Expand Down

0 comments on commit 4dbf7e0

Please sign in to comment.