Created
February 10, 2020 19:59
-
-
Save surajitbasak109/432f3aabcc5230a2b5e74a6d2ad3c580 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( | |
<div className="container mt-3"> | |
<h1 className="h2 text-center">Autocomplete Example</h1> | |
<div className="form-group"> | |
<label htmlFor="autocomplete">Item Name</label> | |
<input | |
type="text" | |
id="autocomplete" | |
value={name} | |
className="custom-input form-control" | |
/> | |
</div> | |
<div className="form-group"> | |
<label htmlFor="code">Code</label> | |
<input | |
type="text" | |
name="code" | |
id="code" | |
value={code} | |
readOnly | |
className="custom-input form-control" | |
/> | |
</div> | |
<div className="form-group"> | |
<label htmlFor="unit">Unit</label> | |
<input | |
type="text" | |
name="unit" | |
id="unit" | |
value={unit} | |
readOnly | |
className="custom-input form-control" | |
/> | |
</div> | |
<div className="form-group"> | |
<label htmlFor="rate">Rate</label> | |
<input | |
type="text" | |
name="rate" | |
id="rate" | |
value={rate} | |
readOnly | |
className="custom-input form-control" | |
/> | |
</div> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment