Skip to content

Commit 561576a

Browse files
committed
Remove spell checker from Rule Code
1 parent 327d78e commit 561576a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/routes/(protected)/abac/rules/[rule_id]/edit/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@
898898
bind:value={formRuleCode}
899899
required
900900
rows="6"
901+
spellcheck="false"
901902
placeholder="e.g., AuthenticatedUser.emailAddress.contains('admin')"
902903
class="w-full rounded-lg border {validationStatus ===
903904
'invalid'

src/routes/(protected)/abac/rules/create/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
bind:value={formRuleCode}
264264
required
265265
rows="4"
266+
spellcheck="false"
266267
placeholder="e.g., user.emailAddress.contains('admin')"
267268
class="w-full rounded-lg border border-gray-300 bg-white py-2 pl-10 pr-4 font-mono text-sm text-gray-900 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:focus:border-blue-400"
268269
></textarea>

0 commit comments

Comments
 (0)