Jump to content

Recommended Posts

Posted

This form helper doesn't seem to work with unlimitedToggleOn, since it is a child class of IPS\Helpers\Form\Select, setting up the unlimitedToggleOn option like i would for a Select doesn't seem to have any effect. the problem seems to be in the template of of cbs, i add this the unlimited checkbox template to test things out:

{{if \count( $unlimitedToggles )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $unlimitedToggles )"}" aria-controls="{expression="implode( ',', $unlimitedToggles )"}"{{endif}}

it fixed the issue.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...