We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import "./styles.css"; import React, { useState } from "react"; import MultiSelect from "react-multiple-select-dropdown-lite"; import "react-multiple-select-dropdown-lite/dist/index.css";
const App = () => { const [value, setvalue] = useState(""); const handleOnchange = (val) => setvalue(val); const options = [ { label: "Option 1", value: "Option 1" }, { label: "Option 2", value: "Option 2" }, { label: "Option 3", value: "Option 3" }, { label: "Option 4", value: "Option 4" } ];
return (
<div className="preview-values"> <b>Values: </b> {value} </div> </div>
); }; export default App;
The text was updated successfully, but these errors were encountered:
Hi @ahireprashant77 , this code does not make any sense. can you please re-produce the problem in https://codesandbox.io ?
Sorry, something went wrong.
No branches or pull requests
import "./styles.css";
import React, { useState } from "react";
import MultiSelect from "react-multiple-select-dropdown-lite";
import "react-multiple-select-dropdown-lite/dist/index.css";
const App = () => {
const [value, setvalue] = useState("");
const handleOnchange = (val) => setvalue(val);
const options = [
{ label: "Option 1", value: "Option 1" },
{ label: "Option 2", value: "Option 2" },
{ label: "Option 3", value: "Option 3" },
{ label: "Option 4", value: "Option 4" }
];
return (
Dropdown label
);
};
export default App;
The text was updated successfully, but these errors were encountered: