question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There was a problem with the Picker before upgrading the version

See original GitHub issue

Version

1.1.0

Environment

antd-mobile : 1.1.0

Reproduction link

https://mobile.ant.design/components/picker-cn/

Steps to reproduce

The previous version was 0.9.14 in my project I used the Picker component, according to the corresponding data structure to get the desired effect, but after I upgrade found Picker that piece of the error, return the version to try not to the error, have the test under the 1.0.7 also have an error, upgrade to 1.1.0 version of any error

What is expected?

Normal use

What is actually happening?

Error


My data structure resembles the three-level linkage of the city choice d025d341-ee01-4ab2-90f5-3fe0dd7bad3c 306f61dd-8b1c-4b02-997d-5644dbba40a8

const PickerWrap = ({ seasons, serviceDate, handleChangeServiceDate }) => {
    console.log(seasons)
    return (
    <Picker data={ seasons }
        title="选择日期"
        cascade={false}
        extra= { serviceDate ? (serviceDate.join(' ')) : '请选择上门服务时间' }
        cols={2}
        onChange={v => handleChangeServiceDate(v)}
      >
        <ListItem arrow="horizontal" >预约时间</ListItem>
    </Picker>
    )
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
paranoidjkcommented, Apr 26, 2017

@margin-0 cascade={false}去掉

0reactions
paranoidjkcommented, May 17, 2017

以前的 antd-mobile 文档里也没有透出这个 api。

依赖非文档说明的底层 API 不再升级考虑范围内。

Read more comments on GitHub >

github_iconTop Results From Across the Web

content migration error from umbraco version 7140 to 810
Your site was built on old version and seems to be migrated to v7.14. Therefore, it is using old Media Data Type. You...
Read more >
can't upgrade materials/textures
when i try to update the textures/materials i get a "error" reading like: dirt material material was not upgraded. There's no upgrader to ......
Read more >
Symantec Management Server Error after upgrading from 7.1 to 7.5
Hi,I have a problem since upgrading from 7.1 to 7.5. ... SP2 MP1 installed separately before upgrade or you've installed it after upgrade...
Read more >
Moodle in English: File Picker not working
... posting it here. When I use file picker to select a file. ... There may not have been an answer to your...
Read more >
Troubleshoot known issues - .NET MAUI
ERROR Platform version is not present. · You have a .NET 7 preview installed, which doesn't support .NET MAUI. There are a few...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found