Adding a second "Class Toggle" first one get deleted - Only UI

Wappler 6.6.1
Windows 11 Pro

Hi,
Inside "Dynamic Attributes" adding a second "Class Toggle" in any object cause that both "Class Toggle" show up empty.
Normally with one "Class Toggle":
image

Error after add a second "Class Toggle"

Its same inside/outside a repeater, or alone, or inside/outside a form or div.

Note, the error is only in UI, the code show up correctly with both dmx-class tags.

More data:
If adding by code the second "Class Toggle" the UI show up correctly both "Class Toggle".
If adding a third "Class Toggle" the second one get delete by the UI the first one keep showing.
In all cases the code show up correctly.

Looks like an older bug come back:

Can you please make a short video of doing this as i can't recreate it?

I have the same issue on 6.8.0, when you add another class-toggle it blanks both class-toggles in the UI but the original one remains in the code. When you add a second one, it correctly adds the correct code but duplicates the class name in the UI
class

Unfortunately i can't recreate the issue.
Have you tried to refresh the App Connect tree when the class toggle disappears or click on some other element and then back on the input?
Also - does it only happen in Code view?

I tried refresh and that makes no difference, also happens when in design view only. I think it may be related to other components on the page potentially as it seems to work ok on a new page

Hello @elpod
What you're doing with the expression builder on the code view is similar as the issue reported few time ago, maybe it's related?

What if you use the design tab?

Hi @franse

I did use Design View before, I just had the code view open to show that design view UI was not the same as the code view.

There do seem to be a few quirks as per your bug with the expression builder, I have gotten into the habit of copying the code generated in the expression builder in case it doesn't save the changes.