Changeset 0f5aa27 for frontend/src/Components/ProfilePage
- Timestamp:
- 02/04/24 16:57:49 (12 months ago)
- Branches:
- master
- Children:
- efaa053
- Parents:
- 07f4e8b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Components/ProfilePage/DataForm.js
r07f4e8b r0f5aa27 11 11 12 12 const handleClose = () => setShow(false); 13 const handleShow = (e) => { 13 const handleShow = (e) => { 14 14 e.preventDefault(); 15 15 setShow(true); … … 29 29 <Form.Group as={Col} controlId="name"> 30 30 <Form.Label>Име</Form.Label> 31 <Form.Control type="text" value={props.data["name"]} /> 31 <Form.Control type="text" value={props.data["name"]} 32 name={"name"}/> 32 33 </Form.Group> 33 34 … … 38 39 placeholder="" 39 40 value={props.data["surname"]} 41 name={"surname"} 40 42 /> 41 43 </Form.Group> … … 45 47 <Form.Group as={Col} controlId="name"> 46 48 <Form.Label>Датум на раѓање</Form.Label> 47 <Form.Control type="date" value={props.data["dateOfBirth"]} /> 49 <Form.Control type="date" value={props.data["dateOfBirth"]} 50 name={"dateOfBirth"}/> 48 51 </Form.Group> 49 52 … … 54 57 placeholder="" 55 58 value={props.data["country"]} 59 name={"country"} 56 60 /> 57 61 </Form.Group> … … 60 64 <Form.Group className="mb-3" controlId="address"> 61 65 <Form.Label>Адреса</Form.Label> 62 <Form.Control type="text" value={props.data["address"]} /> 66 <Form.Control type="text" value={props.data["address"]} 67 name={"address"}/> 63 68 </Form.Group> 64 69 … … 66 71 <Form.Group as={Col} controlId="city"> 67 72 <Form.Label>Град</Form.Label> 68 <Form.Control type="text" value={props.data["city"]} /> 73 <Form.Control type="text" value={props.data["city"]} 74 name={"city"}/> 69 75 </Form.Group> 70 76 … … 75 81 placeholder="" 76 82 value={props.data["zip"]} 83 name={"zip"} 77 84 /> 78 85 </Form.Group> … … 82 89 <Form.Group as={Col} controlId="email"> 83 90 <Form.Label>Email</Form.Label> 84 <Form.Control type="email" value={props.data["email"]} /> 91 <Form.Control type="email" value={props.data["email"]} 92 name={"email"}/> 85 93 </Form.Group> 86 94 … … 91 99 placeholder="" 92 100 value={props.data["mobile"]} 101 name={"mobile"} 93 102 /> 94 103 </Form.Group>
Note:
See TracChangeset
for help on using the changeset viewer.