disable browser autocomplete on all input fields
This commit is contained in:
parent
0fc62f2d16
commit
3dbe7f9c17
@ -123,7 +123,7 @@ function renderUsers() {
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" min="1" value="${user.max_goals}"
|
||||
id="max-goals-${user.user_id}">
|
||||
id="max-goals-${user.user_id}" autocomplete="off">
|
||||
</td>
|
||||
<td>
|
||||
<button class="save-btn" onclick="saveUser(${user.user_id})">Save</button>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<h2 id="modal-title">Create Goal</h2>
|
||||
<button class="modal-close" id="modal-close">×</button>
|
||||
</div>
|
||||
<form id="goal-form">
|
||||
<form id="goal-form" autocomplete="off">
|
||||
<input type="hidden" id="goal-id">
|
||||
<div class="form-group">
|
||||
<label for="goal-title">Goal Title</label>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<body class="auth-page">
|
||||
<div class="auth-container">
|
||||
<h1>Login</h1>
|
||||
<form id="login-form">
|
||||
<form id="login-form" autocomplete="off">
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="filter-group search-group">
|
||||
<input type="text" id="filter-search" placeholder="Search notes...">
|
||||
<input type="text" id="filter-search" placeholder="Search notes..." autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<h2 id="note-modal-title">New Note</h2>
|
||||
<button class="modal-close" id="note-modal-close">×</button>
|
||||
</div>
|
||||
<form id="note-form">
|
||||
<form id="note-form" autocomplete="off">
|
||||
<input type="hidden" id="note-id">
|
||||
<div class="form-group">
|
||||
<label for="note-title">Title</label>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<body class="auth-page">
|
||||
<div class="auth-container">
|
||||
<h1>Register</h1>
|
||||
<form id="register-form">
|
||||
<form id="register-form" autocomplete="off">
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
|
||||
@ -32,11 +32,11 @@
|
||||
<div class="side-panel-content">
|
||||
<div class="form-group">
|
||||
<label for="edit-task-title">Title</label>
|
||||
<input type="text" id="edit-task-title">
|
||||
<input type="text" id="edit-task-title" autocomplete="off">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="edit-task-desc">Description</label>
|
||||
<textarea id="edit-task-desc" rows="12"></textarea>
|
||||
<textarea id="edit-task-desc" rows="12" autocomplete="off"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="edit-task-status">Status</label>
|
||||
@ -63,7 +63,7 @@
|
||||
<h2 id="task-modal-title">Create Task</h2>
|
||||
<button class="modal-close" id="task-modal-close">×</button>
|
||||
</div>
|
||||
<form id="task-form">
|
||||
<form id="task-form" autocomplete="off">
|
||||
<input type="hidden" id="task-id">
|
||||
<div class="form-group">
|
||||
<label for="task-title">Task Title</label>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user