Resolved gh-410 to allow default data type values for the database to be set per fieldtype.

This commit is contained in:
2019-05-03 01:00:05 +02:00
parent b55d824e63
commit d7b555e7af
37 changed files with 2138 additions and 512 deletions

View File

@ -2615,7 +2615,7 @@ class ComponentbuilderModelAjax extends JModelList
// get the xml
$xml = $this->getFieldXML($fieldtype);
// now get the field options
if ($field = ComponentbuilderHelper::getFieldOptions($fieldtype, 'id', null, $xml))
if ($field = ComponentbuilderHelper::getFieldOptions($fieldtype, 'id', null, $xml, true))
{
// get subform field properties object
$properties = $this->buildFieldOptionsSubform($field['subform'], $field['nameListOptions']);