skip to Main Content

Javascript – User input not sent to server

My controls look like this return ( <div className='contentDiv'> <Container> <Form onSubmit={getFormData}> <Form.Group className="mb-3" controlId="formBasicName"> <Row><Form.Control name="id" type="number" value={3} readOnly={ true }></Form.Control></Row> <Row> <Col> <Form.Label>Forname:</Form.Label> <Form.Control name="firstname" type="text" placeholder="navn"></Form.Control> </Col> <Col> <Form.Label>Efternavn:</Form.Label> <Form.Control name="lastname" type="text" placeholder="Efternavn"></Form.Control> </Col> </Row> </Form.Group> <Row><Button…

VIEW QUESTION
Back To Top
Search