Skip to content

Commit

Permalink
Fixes input fields that take emails
Browse files Browse the repository at this point in the history
  • Loading branch information
IongIer committed May 28, 2024
1 parent 7b28dc7 commit 055366c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/src/pages/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn Login(#[prop(optional)] extend_tw_classes: &'static str) -> impl IntoView
class="px-3 py-2 w-full leading-tight rounded border shadow appearance-none focus:outline-none"
name="email"
id="email"
type="text"
type="email"
inputmode="email"
autocomplete="email"
placeholder="E-mail"
Expand Down
2 changes: 1 addition & 1 deletion apis/src/pages/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub fn Register(#[prop(optional)] extend_tw_classes: &'static str) -> impl IntoV

class="px-3 py-2 w-full leading-tight rounded border shadow appearance-none focus:outline-none"
name="email"
type="text"
type="email"
inputmode="email"
prop:value=email
autocomplete="email"
Expand Down

0 comments on commit 055366c

Please sign in to comment.