Skip to content

UHF-11508: Fixing the ploughing timetable search UI#1218

Merged
wktohesi merged 1 commit intomainfrom
UHF-11508_ploughing
Mar 13, 2025
Merged

UHF-11508: Fixing the ploughing timetable search UI#1218
wktohesi merged 1 commit intomainfrom
UHF-11508_ploughing

Conversation

@wktohesi
Copy link
Contributor

@wktohesi wktohesi commented Mar 13, 2025

UHF-11508

Ploughing timetable search in https://www.hel.fi/fi/kaupunkiymparisto-ja-liikenne/kunnossapito/katujen-kunnossapito/katujen-talvikunnossapito#milloin-autotiet-aurataan- has an issue where the input field can not be fully emptied after something's been written.

What was done

The issue was caused by a downshift-error due to address state property getting an initial value of undefined. Added a fix to make sure the initial value is an empty string instead.

How to install

How to test

Continuous documentation

  • This change doesn't require updates to the documentation

…initial value is an empty string instead of undefined.
@github-actions
Copy link

✅ Tests passed! You can check the output here: https://city-of-helsinki.github.io/drupal-hdbt-visual-regression/pull/1218/html_report/

Copy link
Contributor

@teroelonen teroelonen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix 🦖

@wktohesi wktohesi merged commit 391c647 into main Mar 13, 2025
2 checks passed
@wktohesi wktohesi deleted the UHF-11508_ploughing branch March 13, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants