Improved the custom import option to include the display method override.

This commit is contained in:
2016-05-20 06:00:31 +01:00
parent 3b774a8385
commit d2aa1fce0b
370 changed files with 1695 additions and 1625 deletions

View File

@ -1500,7 +1500,7 @@ class Fields extends Structure
$this->catCodeBuilder[$viewName] = array('code' => $name, 'views' => $otherViews, 'view' => $otherView);
}
// setup checkbox for this view
if ($typeName == 'checkbox')
if ($typeName == 'checkbox' || (ComponentbuilderHelper::checkArray($custom) && isset($custom['extends']) && $custom['extends'] == 'checkboxes'))
{
$this->checkboxBuilder[$viewName][] = $name;
}