Skip to content

Commit

Permalink
Update datepicker with translations snippet (#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
juujisai authored Jun 27, 2023
1 parent ee4e058 commit 4c7d630
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/content/docs/standard/forms/datepicker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,10 @@
{{< twsnippet/wrapper "HTML,javascript,umd" >}}
<!-- prettier-ignore -->
{{< twsnippet/code active=true lang="HTML" >}}
<div class="relative mb-3" data-te-datepicker-init>
<div
id="datepicker-translated"
class="relative"
data-te-input-wrapper-init>
<input
type="text"
class="peer block min-h-[auto] w-full rounded border-0 bg-transparent px-3 py-[0.32rem] leading-[1.6] outline-none transition-all duration-200 ease-linear focus:placeholder:opacity-100 peer-focus:text-primary data-[te-input-state-active]:placeholder:opacity-100 motion-reduce:transition-none dark:text-neutral-200 dark:placeholder:text-neutral-200 dark:peer-focus:text-primary [&:not([data-te-input-placeholder-active])]:placeholder:opacity-0"
Expand Down

0 comments on commit 4c7d630

Please sign in to comment.