<Form.Group controlId="formBasicSelect">
<Form.Label>Select Norm Type</Form.Label>
<Form.Control
as="select"
value={type}
onChange={e => {
console.log("e.target.value", e.target.value);
setType(e.target.value);
}}
>
<option value="DICTUM">Dictamen</option>
<option value="CONSTANCY">Constancia</option>
<option value="COMPLEMENT">Complemento</option>
</Form.Control>
</Form.Group>
import 'bootstrap/dist/css/bootstrap.min.css';
import Form from 'react-bootstrap/Form';
function App() {
return (
<Form.Select aria-label="Default select example">
<option>Select an option from this select menu</option>
<option value="first">first</option>
<option value="second">second</option>
<option value="third">third</option>
</Form.Select>
);
}
export default App;