Skip to content

switchinput won't show Off/false #219

@siliconalchemy

Description

@siliconalchemy

Switchinput never shows off value. I'm using standard activefield widget:

field($user->uxprefs, 'menu_collapsed')->widget(SwitchInput::classname()); ?>

It always shows On on page load. If you switch off and save, the value gets saved to 0 in the database but switch is still rendered as On.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions