Skip to content

Commit

Permalink
Add data-1p-ignore to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
laurakwhit committed Oct 4, 2024
1 parent 9448730 commit 9791755
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/components/search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
{name}
{value}
{placeholder}
autocomplete="off"
data-testid={`${testId}-input`}
on:input
>
Expand Down
1 change: 1 addition & 0 deletions src/lib/holocene/combobox/combobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@
autocapitalize="off"
spellcheck="false"
data-lpignore="true"
data-1p-ignore="true"
aria-controls="{id}-listbox"
aria-expanded={$open}
aria-required={required}
Expand Down
1 change: 1 addition & 0 deletions src/lib/holocene/input/chip-input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
{/if}
<input
data-lpignore="true"
data-1p-ignore="true"
autocomplete="off"
class:cursor-not-allowed={disabled}
{disabled}
Expand Down
1 change: 1 addition & 0 deletions src/lib/holocene/input/input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
class:disabled
{disabled}
data-lpignore="true"
data-1p-ignore="true"
maxlength={maxLength > 0 ? maxLength : undefined}
{placeholder}
{id}
Expand Down
1 change: 1 addition & 0 deletions src/lib/holocene/input/number-input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
{min}
{disabled}
data-lpignore="true"
data-1p-ignore="true"
{placeholder}
{id}
{name}
Expand Down

0 comments on commit 9791755

Please sign in to comment.