mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-11-22 08:19:54 +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
|
- Migrated project to .NET 8
|
||||||
- Container now uses Port 8080
|
- Container now uses Port 8080
|
||||||
|
- Input fields now have autocomplete attributes that improve browser behavior
|
||||||
|
|
||||||
## [1.1.0] - 2023-04-17
|
## [1.1.0] - 2023-04-17
|
||||||
|
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" asp-for="UserModel!.Username">Username</label>
|
<label class="label" asp-for="UserModel!.Username">Username</label>
|
||||||
<div class="control">
|
<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>
|
</div>
|
||||||
<span class="help is-danger" asp-validation-for="UserModel!.Username"></span>
|
<span class="help is-danger" asp-validation-for="UserModel!.Username"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" asp-for="UserModel!.Password">Password</label>
|
<label class="label" asp-for="UserModel!.Password">Password</label>
|
||||||
<div class="control">
|
<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>
|
</div>
|
||||||
<span class="help is-danger" asp-validation-for="UserModel!.Password"></span>
|
<span class="help is-danger" asp-validation-for="UserModel!.Password"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<label class="button is-static">ID</label>
|
<label class="button is-static">ID</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="control is-expanded">
|
<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>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<button class="button is-primary" type="submit">Inspect</button>
|
<button class="button is-primary" type="submit">Inspect</button>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" asp-for="Model!.Id">ID</label>
|
<label class="label" asp-for="Model!.Id">ID</label>
|
||||||
<div class="control">
|
<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>
|
</div>
|
||||||
<span class="help is-danger" asp-validation-for="Model!.Id"></span>
|
<span class="help is-danger" asp-validation-for="Model!.Id"></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" asp-for="Model!.Target">Target</label>
|
<label class="label" asp-for="Model!.Target">Target</label>
|
||||||
<div class="control">
|
<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>
|
</div>
|
||||||
<span class="help is-danger" asp-validation-for="Model!.Target"></span>
|
<span class="help is-danger" asp-validation-for="Model!.Target"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue