-
get input's value
-
if value is empty
- display popular label
- populate list of popular city
- stop
-
hide popular label
-
find similar city or airport based on value
-
reset option list to empty
-
if result didn't found
- display text placeholder to inform user
- stop
- if result were found
- map the data to option item element
- map based on total airport
- add click event on every city / airport
-
show border in product box on hover [Done]
-
modify airport and city list, so user can search airport instead of city [Done] Example: "Medan" => "Medan (MESC)" in the input
It should be "Kuala Namu (KNO)" -
change font color of disabled date [Done]
-
disable or enable decrease / increase button in passenger & cabin popup in certain condition
-
put overlay on focus in the big box
-
add accessibilty for product box from keyboard [Done]
-
Define font-family in common.css
-
Improve CSS writing by using BEM pattern or else
- common.css
- sub-heading.css
- ticket-type.css
- ticket-detail.css
- ticket-footer.css
- search-result.css