Address search
Created by: Jinal-7
- When you enter the address into the search bar, it will show dropdown menu with the 5 top most matching addresses.
- When you select on the address, dropdown will hide and continue button will be enabled.
- Selected address will be shown below (This is the alternative solution I think might work. Open for suggestions!). It's not coming into the search bar because a) Any Mapbox geocoder will not work without map. b) This is the only geocoder I found, which is not giving error without map. But there's not any property to change for the address to be shown after the selection.
- CSS is yet to do. @ay701 will help me in that.
To Test:
- Clone this repo PNA
- Switch to the branch addressSearch
- npm install
- npm start
Okay!!! I tried another approach, which is React-Select but cannot have real-time dynamic options in dropdown. Still trying to get this work but again, open for suggestions!