Fixed javascript overload in the field conditions area. Fixed a dynamicGet error that linked the wrong tables with eachother. Fixed gh-519 so that the form is loaded around pagination, note that this may break some implementation, but this fix will allow for a more correct html.

This commit is contained in:
2020-02-05 01:18:34 +02:00
parent 6719a7008b
commit 12c456ca6b
31 changed files with 418 additions and 564 deletions

View File

@ -2115,7 +2115,7 @@ class Get
{
// load the field details
$required = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml, 'required="', '"');
$required = ($required == true) ? 'yes' : 'no';
$required = ($required === 'true' || $required === '1') ? 'yes' : 'no';
$filter = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml, 'filter="', '"');
$filter = ComponentbuilderHelper::checkString($filter) ? $filter : 'none';
// set the field name