Skip to content
New issue

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

No more than the 24th serial number #18

Open
levi-li-yi opened this issue Dec 4, 2022 · 0 comments
Open

No more than the 24th serial number #18

levi-li-yi opened this issue Dec 4, 2022 · 0 comments

Comments

@levi-li-yi
Copy link

levi-li-yi commented Dec 4, 2022

Hi, the PickerColumn`s 'selectedValue' prop error is no more than the 24th serial number. such as:

const [list, setList] = useState([
{label: '1', value: 1},
{label: '2', value: 2},
...
{label: '29', value: 29},
{label: '30', value: 30},
])
const [defaultValue, setDefaultValue] = useState(29)

'

<PickerColumn
selectedValue={defaultValue}
onChange={obj=> setDefaultValue({value})}>
{list.map((item, index) => (

))}

</ Picker >

'

but, the initialized view result show '24'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant