0.1.1 • Published 3 years ago
phone_inputbox_component v0.1.1
Phone_inputbox_component
Stuff_assessment_component
A phone number inputbox with nation code
- On focus: position cursor right to the code and open widget
- Clicking outside the widget will close it (but not in the input area)
- Clicking on ‘Search’ - allow typing (focus) and open all options below (scrollable)
- On typing - show related results
- On selecting - switch to the selected country, show ‘Search’ as default, close the list, and position the cursor right to the code
Table of Contents
Installation
Clone
- Clone this repo to your local machine using
https://github.com/Wesley16838/stuff_assessment.git
Setup
Open the terminal in the Visual Studio and run the code in the terminal as follows:
$ npm i
$ npm start
Open http://localhost:3000 to view it in the browser.