Ignore:
Timestamp:
02/04/24 16:57:49 (5 months ago)
Author:
darsov2 <62809499+darsov2@…>
Branches:
master
Children:
efaa053
Parents:
07f4e8b
Message:

ouath, mailing impl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/Components/ProfilePage/DataForm.js

    r07f4e8b r0f5aa27  
    1111
    1212  const handleClose = () =>  setShow(false);
    13   const handleShow = (e) => { 
     13  const handleShow = (e) => {
    1414    e.preventDefault();
    1515    setShow(true);
     
    2929            <Form.Group as={Col} controlId="name">
    3030              <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"}/>
    3233            </Form.Group>
    3334
     
    3839                placeholder=""
    3940                value={props.data["surname"]}
     41                name={"surname"}
    4042              />
    4143            </Form.Group>
     
    4547            <Form.Group as={Col} controlId="name">
    4648              <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"}/>
    4851            </Form.Group>
    4952
     
    5457                placeholder=""
    5558                value={props.data["country"]}
     59                name={"country"}
    5660              />
    5761            </Form.Group>
     
    6064          <Form.Group className="mb-3" controlId="address">
    6165            <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"}/>
    6368          </Form.Group>
    6469
     
    6671            <Form.Group as={Col} controlId="city">
    6772              <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"}/>
    6975            </Form.Group>
    7076
     
    7581                placeholder=""
    7682                value={props.data["zip"]}
     83                name={"zip"}
    7784              />
    7885            </Form.Group>
     
    8289            <Form.Group as={Col} controlId="email">
    8390              <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"}/>
    8593            </Form.Group>
    8694
     
    9199                placeholder=""
    92100                value={props.data["mobile"]}
     101                name={"mobile"}
    93102              />
    94103            </Form.Group>
Note: See TracChangeset for help on using the changeset viewer.