diff --git a/lib/planner_web/live/landing_live.ex b/lib/planner_web/live/landing_live.ex index e25b484..65ee380 100644 --- a/lib/planner_web/live/landing_live.ex +++ b/lib/planner_web/live/landing_live.ex @@ -21,7 +21,7 @@ defmodule PlannerWeb.LandingLive do <%= f = form_for(@new_task_changeset, "#", [phx_submit: :save_new_task]) %> <div class="field"> <div class="control"> - <%= text_input f, :value, placeholder: "add new task", class: "input" %> + <%= text_input f, :value, placeholder: "add new task", class: "input", autocomplete: "off" %> </div> <%= error_tag f, :value %> </div> diff --git a/lib/planner_web/templates/task/form.html.eex b/lib/planner_web/templates/task/form.html.eex index 4f1fa46..af6734f 100644 --- a/lib/planner_web/templates/task/form.html.eex +++ b/lib/planner_web/templates/task/form.html.eex @@ -8,7 +8,7 @@ <div class="field"> <div class="control"> - <%= textarea f, :value, required: true, class: "textarea", placeholder: "task" %> + <%= textarea f, :value, required: true, class: "textarea", placeholder: "task", autocomplete: "off" %> </div> <%= error_tag f, :value %> </div> @@ -18,7 +18,7 @@ due (YYYY-MM-DD HH:MM:SS) <% end %> <div class="control"> - <%= text_input f, :due_at, class: "input", placeholder: "YYYY-MM-DD HH:MM:SS" %> + <%= text_input f, :due_at, class: "input", placeholder: "YYYY-MM-DD HH:MM:SS", autocomplete: "off" %> </div> <%= error_tag f, :due_at %> </div>