Skip to content

Multiselect (checkbox) error when placed in Table Layout #141

@ghost

Description

If you put a multiselect element with 8-or-less options/forced as a checkbox into a Table layout, you get an error - presumably as it tries to make a label for itself?

The error is around here

getMultiCheckboxHolder: function(controls,label,description) {
var el = document.createElement('div');

label.style.display = 'block';

el.appendChild(label);

label is null when that's called from here

Wrapping the offending lines in "if (label)" seems to work but I thought you might want to knock-up a better solution because I'm probably missing something?

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