toystars / react-native-multiple-select

Simple multi-select component for react-native
MIT License
565 stars 314 forks source link

How to select all items by default? #176

Closed kalmansour closed 2 years ago

kalmansour commented 3 years ago

Issue summary

Add a short description of issue, preferably, a sentence.

Library versions

Steps to Reproduce

(Write your steps here:)

1. 2. 3.

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots!)

Reproducible Code

(Paste exact code snippet and instructions to reproduce the issue.)

ajaytheetharappan commented 3 years ago

Set the list you pass to the selectedItems prop to be initially equal to the list you pass to the items prop

kalmansour commented 3 years ago

Thanks Ajay 🙏

On Wed, Apr 28, 2021 at 10:33 AM Ajay Theetharappan < @.***> wrote:

Set the list you pass to the selectedItems prop to be initially equal to the list you pass to the items prop

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toystars/react-native-multiple-select/issues/176#issuecomment-828221413, or unsubscribe https://github.com/notifications/unsubscribe-auth/APH5X24Y6T2CQRYTDJ7ZG63TK625VANCNFSM43MJQLEQ .