Skip to content

Commit

Permalink
Fix typo in location field validation error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ekumachidi committed Apr 25, 2024
1 parent 3e7accd commit 6a39b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/webpacker/controllers/autocomplete_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class extends Controller {
if (locationInput.value.trim() === "") {
if (!errorParagraph) {
errorParagraph = document.createElement('p');
errorParagraph.textContent = "Enter a location or post code";
errorParagraph.textContent = "Enter a location or postcode";
errorParagraph.classList.add("govuk-error-message");

const hiddenErrorMessage = document.createElement("span");
Expand Down

0 comments on commit 6a39b2f

Please sign in to comment.