From 45d60c1dabc1667a0811ecd951cffc974a41d02f Mon Sep 17 00:00:00 2001 From: TomasThurMg Date: Thu, 27 Oct 2022 10:09:53 +0200 Subject: [PATCH] Set autocomplete to form elements (exampleInput1,2,4.njk) --- app/views/komponenty/examples/exampleInput1.njk | 3 ++- app/views/komponenty/examples/exampleInput2.njk | 3 ++- app/views/komponenty/examples/exampleInput4.njk | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/komponenty/examples/exampleInput1.njk b/app/views/komponenty/examples/exampleInput1.njk index 444725dea1..c6a0c6c746 100644 --- a/app/views/komponenty/examples/exampleInput1.njk +++ b/app/views/komponenty/examples/exampleInput1.njk @@ -5,5 +5,6 @@ "text": "Meno a priezvisko" }, "id": "input-example-1", - "name": "fullName" + "name": "fullName", + "autocomplete": "on" }) }} diff --git a/app/views/komponenty/examples/exampleInput2.njk b/app/views/komponenty/examples/exampleInput2.njk index bf3ec7c351..e4be525b8c 100644 --- a/app/views/komponenty/examples/exampleInput2.njk +++ b/app/views/komponenty/examples/exampleInput2.njk @@ -6,5 +6,6 @@ }, "id": "input-example-2", "name": "fullName", - "classes": " :focus" + "classes": " :focus", + "autocomplete": "on" }) }} diff --git a/app/views/komponenty/examples/exampleInput4.njk b/app/views/komponenty/examples/exampleInput4.njk index 030504d907..8c3b6cef61 100644 --- a/app/views/komponenty/examples/exampleInput4.njk +++ b/app/views/komponenty/examples/exampleInput4.njk @@ -5,7 +5,8 @@ "text": "Krstné meno" }, "id": "input-example-4-name", - "name": "name" + "name": "name", + "autocomplete": "on" }) }} {{ govukInput({ @@ -13,5 +14,6 @@ "text": "Priezvisko" }, "id": "input-example-4-surname", - "name": "surname" + "name": "surname", + "autocomplete": "on" }) }} \ No newline at end of file