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
@nutui/nutui-react
2.6.4
h5
<Form.Item label="业务" name="picker" trigger="onConfirm" getValueFromEvent={(...args) => args[1]} onClick={(event, ref: any) => { ref.open(); }} rules={[ { required: true, message: "请选择业务", }, ]} > <Picker options={[busList]} onConfirm={onConfirmBus}> {(value: any = {}) => { return ( <Cell style={{ padding: 0, "--nutui-cell-divider-border-bottom": "0", }} className="nutui-cell--clickable" title={ value.length ? busList.filter((po) => po.value === value[0])[0]?.text : "请选择" } extra={<ArrowRight />} align="center" /> ); }} </Picker> </Form.Item>
不会报错
The text was updated successfully, but these errors were encountered:
需要您提供一个可以复现的完整demo,便于我们排查导致该问题的根本原因。
Sorry, something went wrong.
你好 @xian107, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。
Alex-huxiyang
Successfully merging a pull request may close this issue.
NutUI React 包名
@nutui/nutui-react
NutUI React 版本号
2.6.4
平台
h5
重现步骤
<Form.Item label="业务" name="picker" trigger="onConfirm" getValueFromEvent={(...args) => args[1]} onClick={(event, ref: any) => { ref.open(); }} rules={[ { required: true, message: "请选择业务", }, ]} > <Picker options={[busList]} onConfirm={onConfirmBus}> {(value: any = {}) => { return ( <Cell style={{ padding: 0, "--nutui-cell-divider-border-bottom": "0", }} className="nutui-cell--clickable" title={ value.length ? busList.filter((po) => po.value === value[0])[0]?.text : "请选择" } extra={<ArrowRight />} align="center" /> ); }} </Picker> </Form.Item>
期望的结果是什么?
不会报错
The text was updated successfully, but these errors were encountered: