Skip to content

Make it possible to use toggles in both the fieldset and contents #4

Description

@stipsan

Comment by Dan:

If I put a toggle onto a fieldset via the group, then I can't use any regular toggles inside that fieldset, as they both break.

As a second request, what would be great is to add an optional toggle to chains, similar to the fieldset one, that saves a new parameter 'enabled' and enables/disables all the items contained in the chain.

I tried to do it, but again toggles in toggles broke so I just undid it all and left the chains as they were.

The main issue is with the JS which is a little bit over my head. If we can clean up the core toggle JS and just make the fieldset and chain disables onChange callback functions or the like it should work. (this is already done for the fieldsets I believe)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions