Hi
I’ve a select field that when I click on an option it changes swiper slide.
The problem is that it works only on Firefox desktop.
It doesn’t work on wappler interface, Chrome desktop and on Chrome mobile.
Why?
Thanks
Maybe provide a little more detailed information of what exactly and how exactly are you doing, otherwise we can just try to guess what could be wrong.
Hi Teodor
I have a user profile page with a swiper component and 5 slides.
I put a custom select field on a container outside the swiper component.
I have this code:
When i click on an option it should show related swiper slide.
As I said, this work only on Firefox desktop.
If i open on a mobile (Android with Chrome) or with Chrome on desktop, this doesn’t work.
That’s not how you should be doing this.
Add a dynamic event to your select menu > data > value changed and select Go To Slide. As a value select the selectedIndex returned by your select menu:
Ok thanks Teodor
I will try this way.
Thanks Teodor, it works.