Skip to content

Commit

Permalink
Set autocomplete to false
Browse files Browse the repository at this point in the history
Fixed #93
  • Loading branch information
gianarb committed Apr 9, 2024
1 parent 72d316f commit 063cadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/lib/DateInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
bind:this={InputElement}
class:invalid={!valid}
type="text"
autocomplete="off"
value={text}
{id}
{placeholder}
Expand Down
6 changes: 3 additions & 3 deletions src/lib/DatePicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
d.getHours(),
d.getMinutes(),
d.getSeconds(),
d.getMilliseconds(),
d.getMilliseconds()
)
d = clamp(d, min, max)
}
Expand Down Expand Up @@ -140,8 +140,8 @@
browseDate.getHours(),
browseDate.getMinutes(),
browseDate.getSeconds(),
browseDate.getMilliseconds(),
),
browseDate.getMilliseconds()
)
)
}
Expand Down

0 comments on commit 063cadf

Please sign in to comment.