Hi , whenever i click on the item it will select all items in the dropdown even though i was passing multiEnable false #40
|
<PaperSelect |
Answered by
srivastavaanurag79
Sep 1, 2023
Replies: 4 comments
|
Will test it and let you know if there is a bug |
0 replies
|
@shashikumarwml you need to use _id as a property, otherwise it selects all |
0 replies
|
Thanks for your reply Srivasthav
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Kevin Dohlen ***@***.***>
Sent: Sunday, August 27, 2023 4:58:42 PM
To: srivastavaanurag79/react-native-paper-select ***@***.***>
Cc: Shashi Kumar ***@***.***>; Mention ***@***.***>
Subject: Re: [srivastavaanurag79/react-native-paper-select] Hi , whenever i click on the item it will select all items in the dropdown even though i was passing multiEnable false (Issue #38)
@shashikumarwml<https://github.com/shashikumarwml> you need to use _id as a property, otherwise it selects all
—
Reply to this email directly, view it on GitHub<#38 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A3AUGZZMBUMBVYZR673O5GDXXMVOVANCNFSM6AAAAAA2I6FDSQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
0 replies
|
Just make sure your default list which you provide must contain a unique
For more detail, you can check out the example. |
0 replies
Answer selected by
srivastavaanurag79
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just make sure your default list which you provide must contain a unique
_idfor each element somewhat like this:list: [ { _id: '1', value: 'MALE' }, { _id: '2', value: 'FEMALE' }, { _id: '3', value: 'OTHERS' }, ],For more detail, you can check out the example.