How to use react-select with react-bootstrap to get the values
https://stackoverflow.com/questions/66666946/how-to-use-react-select-with-react-bootstrap-to-get-the-values
WebMar 17, 2021 · import React, { useState, useEffect } from "react"; import {Form } from "react-bootstrap"; import Select from "react-select"; const App = => { const [validated, setValidated] = useState(false); const [select, setSelect] = useState({ name: "", category: "" }); const handleChange = e => { const {name, value} = e.target; setSelect(prevState ...
DA: 6 PA: 20 MOZ Rank: 92