Skip to content

Commit 9f782d2

Browse files
committed
Updated
1 parent c029214 commit 9f782d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SimpleAutocomplete.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
export let autocompleteOffValue = "off"
173173
174174
// allow custom input attributes
175-
export let inputAttributes = "{ autocomplete: 'new-password' }"
175+
export let attribute = "autocomplete='new-password'"
176176
177177
// make the input readonly
178178
export let readonly = undefined
@@ -1199,7 +1199,7 @@
11991199
on:keypress={onKeyPress}
12001200
on:dragover={(event) => dragover(event, selectedItem.length - 1)}
12011201
on:drop={(event) => drop(event, selectedItem.length - 1)}
1202-
{...inputAttributes}
1202+
attribute
12031203
{...$$restProps}
12041204
/>
12051205
{#if clearable}

0 commit comments

Comments
 (0)