eakoriakin / ionic-selectable

Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
549 stars 125 forks source link

Using Ionic Selectable Multiple Times in Same Page #373

Open schagani opened 2 years ago

schagani commented 2 years ago

Hi,

I am using Ionic 6 and Ionic Selectable in my project. Currently what I am trying to achieve is that I have many fields which will require ionic selectable in one form. What is happening is that when I try to open the first ionic selectable field it works. Then I try to open another one on the same page it shows the items of the first field which was opened previously. It also gives me the error Ionic Selectable already closed when I try to click cancel.

Could you please help in fixing this issue?

Regards

pitamash commented 2 years ago

If faced the same, i am still trying to crack this out.

heloufir commented 1 year ago

Got the same issue here, I have 2 ion-selectable in the same page, but it's like the second one is initiated on both selectables.

Did you manage to resolve this issue?

pitamash commented 1 year ago

You can implement yours that you can customize however you want using a modal.

On Fri, Oct 21, 2022 at 12:04 PM EL OUFIR Hatim @.***> wrote:

Got the same issue here, I have 2 ion-selectable in the same page, but it's like the second one is initiated on both selectables

— Reply to this email directly, view it on GitHub https://github.com/ionic-selectable/ionic-selectable/issues/373#issuecomment-1286675117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOLPWWBL4BPFOHTXJN7D3DWEJMCBANCNFSM5OTJPN7A . You are receiving this because you commented.Message ID: @.***>