Skip to content

maketext errors when encountering the [ ], used when outputting a non-active related column value #21

Description

@castaway

push @options, $row->id, $active_col && !$row->$active_col ? "[ $label ]" : "$label";

These should possibly be ~ in front of the brackets? I get this error: https://github.com/gshank/html-formhandler/blob/b62ac37421740b16ed0043e71d968606478335e5/lib/HTML/FormHandler/I18N.pm

NB: Creating a related select, with active column set, passing in a default result obj with the related value set to a value that wasnt set as active, is how I got here ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions