1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-25 09:19:55 +00:00

improved: input fields now have autocomplete attributes

This commit is contained in:
Mia Rose Winter 2023-11-17 23:34:11 +01:00
parent aeec7bb6ff
commit e53e516f0b
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
3 changed files with 6 additions and 5 deletions

View file

@ -14,6 +14,7 @@
- Migrated project to .NET 8
- Container now uses Port 8080
- Input fields now have autocomplete attributes that improve browser behavior
## [1.1.0] - 2023-04-17

View file

@ -11,14 +11,14 @@
<div class="field">
<label class="label" asp-for="UserModel!.Username">Username</label>
<div class="control">
<input required class="input" type="text" asp-for="UserModel!.Username"/>
<input required class="input" type="text" asp-for="UserModel!.Username" autocomplete="username" />
</div>
<span class="help is-danger" asp-validation-for="UserModel!.Username"></span>
</div>
<div class="field">
<label class="label" asp-for="UserModel!.Password">Password</label>
<div class="control">
<input required class="input" type="password" asp-for="UserModel!.Password"/>
<input required class="input" type="password" asp-for="UserModel!.Password" autocomplete="current-password" />
</div>
<span class="help is-danger" asp-validation-for="UserModel!.Password"></span>
</div>

View file

@ -25,7 +25,7 @@
<label class="button is-static">ID</label>
</div>
<div class="control is-expanded">
<input required type="text" class="input" name="Inspect_Id"/>
<input required type="text" class="input" name="Inspect_Id" autocomplete="off" />
</div>
<div class="control">
<button class="button is-primary" type="submit">Inspect</button>
@ -43,7 +43,7 @@
<div class="field">
<label class="label" asp-for="Model!.Id">ID</label>
<div class="control">
<input required class="input" type="text" asp-for="Model!.Id" />
<input required class="input" type="text" asp-for="Model!.Id" autocomplete="off" />
</div>
<span class="help is-danger" asp-validation-for="Model!.Id"></span>
</div>
@ -51,7 +51,7 @@
<div class="field">
<label class="label" asp-for="Model!.Target">Target</label>
<div class="control">
<input required class="input" type="text" asp-for="Model!.Target" />
<input required class="input" type="url" asp-for="Model!.Target" autocomplete="off" />
</div>
<span class="help is-danger" asp-validation-for="Model!.Target"></span>
</div>