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
renderLinkedContainer
data
import React from "react"; import { Picker } from "@arco-design/mobile-react"; const options = [ { label: "male", value: "1" }, { label: "female", value: "2" }, { label: "others", value: "3" }, ]; export default function FormDemo() { const [value, setValue] = React.useState(["1"]); return ( <Picker value={value} onChange={setValue} renderLinkedContainer={(value, data) => { console.debug(value, data); return ( <div className="arco-form-picker-link-container" style={{ width: 240, height: 30, border: "1px solid #ccc" }} > {data.map((item) => item.label).join(",")} </div> ); }} cascade={false} data={options} maskClosable /> ); }
在有初始值的情况下,显示data为空
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Basic Info
在有初始值的情况下,显示data为空
The text was updated successfully, but these errors were encountered: