File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -497,9 +497,10 @@ const Home = () => {
497
497
< div className = "location-input-container" >
498
498
< input
499
499
id = "location-input"
500
- type = "text "
500
+ type = "search "
501
501
placeholder = "Not the right location ?"
502
502
className = "location-input"
503
+ enterKeyHint = "search"
503
504
value = { locationInput }
504
505
onChange = { handleLocationInputChange }
505
506
onKeyUp = { e => handleSearchBox ( e , 1 ) }
@@ -691,9 +692,10 @@ const Home = () => {
691
692
< div className = "map-overlay" >
692
693
< input
693
694
id = "start-location-input"
694
- type = "text "
695
+ type = "search "
695
696
placeholder = "Your Location"
696
697
className = "start-location-input"
698
+ enterKeyHint = "search"
697
699
value = { startLocationInput }
698
700
onChange = { handleStartLocationInputChange }
699
701
onKeyUp = { e => handleSearchBox ( e , 2 ) }
@@ -717,9 +719,10 @@ const Home = () => {
717
719
) }
718
720
< input
719
721
id = "destination-location-input"
720
- type = "text "
722
+ type = "search "
721
723
placeholder = "Choose Destination"
722
724
className = "destination-location-input"
725
+ enterKeyHint = "search"
723
726
value = { destinationLocationInput }
724
727
onChange = { handleDestinationLocationInputChange }
725
728
onKeyUp = { e => handleSearchBox ( e , 3 ) }
You can’t perform that action at this time.
0 commit comments