Skip to content

Commit

Permalink
Set autocomplete to form elements (exampleInput1,2,4.njk)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasThurMg committed Oct 27, 2022
1 parent c28e5bb commit 45d60c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/views/komponenty/examples/exampleInput1.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"text": "Meno a priezvisko"
},
"id": "input-example-1",
"name": "fullName"
"name": "fullName",
"autocomplete": "on"
}) }}
3 changes: 2 additions & 1 deletion app/views/komponenty/examples/exampleInput2.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
},
"id": "input-example-2",
"name": "fullName",
"classes": " :focus"
"classes": " :focus",
"autocomplete": "on"
}) }}
6 changes: 4 additions & 2 deletions app/views/komponenty/examples/exampleInput4.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"text": "Krstné meno"
},
"id": "input-example-4-name",
"name": "name"
"name": "name",
"autocomplete": "on"
}) }}

{{ govukInput({
"label": {
"text": "Priezvisko"
},
"id": "input-example-4-surname",
"name": "surname"
"name": "surname",
"autocomplete": "on"
}) }}

0 comments on commit 45d60c1

Please sign in to comment.