84 Posts
Skepsis
10 years ago
4
Topic

Hello,

as the title says I have a toggle button in my List View but the page reloads when clicking the button making the toggle useless. Is there a chance to disable this behavior when the toggle is clicked?

Greetings
Skepsis

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
0
Level 1

How exactly did you create this button?

84 Posts
Skepsis
10 years ago
0
Level 1

I´m working with a variation and in this file I placed the standard code from uikit for testing.
toggle uikit

4229 Posts
Kadministrator
10 years ago
0
Level 1

This is soemthing that you need to ask on their support, one thining that might be ahppening is that you need to rpevent ppropagation of the click event so that it doesn't submit the form. Alternatively you can try doing this in Seblod by wrapping group of fields in div field and then attaching conditionals to those divs.

84 Posts
Skepsis
10 years ago
0
Level 1

Thanks for you answer Klas. It´s a nice idea to do that with SEBLOD. I will try that.

Greetings
Skepsis

Get a Book for SEBLOD