Hi , whenever i click on the item it will select all items in the dropdown even though i was passing multiEnable false #40
-
|
<PaperSelect |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Will test it and let you know if there is a bug |
Beta Was this translation helpful? Give feedback.
-
|
@shashikumarwml you need to use _id as a property, otherwise it selects all |
Beta Was this translation helpful? Give feedback.
-
|
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: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Just make sure your default list which you provide must contain a unique
For more detail, you can check out the example. |
Beta Was this translation helpful? Give feedback.
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.