Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Bug: checkboxes not always initial checked

#1258

This is a regression bug as a result of trying to correct another issue with building checkboxes...most controls have a value which is established when created ('default' parameter), but a checkbox also has a 'checked' parameter...the intent is that a checkbox can pass a 'value' in addition to being 'checked'...not sure if we use this returned value in exp rather than set/unset.

This problem mostly appears when we build checkboxes programmatically in php rather than in the template since our smarty 'control' function accounts for both the value/default AND the checked params.

Reported by dleffler · January 16th, 2015 @ 06:11 PM

State: resolved
Milestone: 2.3.3
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved

    (from [dad8110eb9c8d743cde850e9c5ad59f21ae4b096]) Regression fix checkbox initial state; default=checked...value=value [#1258 state:resolved] https://github.com/exponentcms/exponent-cms/commit/dad8110eb9c8d743...

    January 18th, 2015 @ 08:51 PM

  2. expNinja

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.