Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed county field #2045

Merged
merged 2 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/patterns/addresses/index.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ If you use multiple text inputs, you should:

Make sure there are enough text inputs to accommodate longer addresses if you know your users will need them. For example, allow users to include a company name or flat number.

Royal Mail does not need a county as long as the town and postcode are included. You should include an optional county text input so that people who do not know their postcode can give a valid address.
Avoid including county unless you have good evidence of a need for it. It is not part of a correct address according to Royal Mail and is not used to deliver mail.
calvin-lau-sig7 marked this conversation as resolved.
Show resolved Hide resolved

#### Use the autocomplete attribute on multiple address fields

Expand Down
9 changes: 0 additions & 9 deletions src/patterns/addresses/multiple/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ stylesheets:
autocomplete: "address-level2"
}) }}

{{ govukInput({
label: {
text: "County"
},
classes: "govuk-!-width-two-thirds",
id: "address-county",
name: "address-county"
}) }}

{{ govukInput({
label: {
text: "Postcode"
Expand Down