mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-11-10 03:59:53 +00:00
improved: input fields now have autocomplete attributes
This commit is contained in:
parent
aeec7bb6ff
commit
e53e516f0b
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue