Skip to content

Commit

Permalink
Allow trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Jun 28, 2024
1 parent 957c4e0 commit ce125ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postcode_lookup/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="c-hero__title">
id="postcode-search"
type="text"
name="postcode-search"
pattern="^([A-Za-z]{1,2}[0-9][A-Za-z0-9]? ?[0-9][A-Za-z]{2}|GIR ?0AA)$"
pattern="^([A-Za-z]{1,2}[0-9][A-Za-z0-9]? ?[0-9][A-Za-z]{2}|GIR ?0AA) ?$"
required>

<button type="submit" name="Submit Postcode"
Expand Down

0 comments on commit ce125ad

Please sign in to comment.