When a field is defined as responsive => true,FIELDNAME_xxl in the editor returns empty, but in the public part it returns the correct value. This causes addons that do not have a public static function getTemplate() to not show the correct changes in the editor. The problem only happens withxxl and in the editor where FIELDNAME is an OBJECT,
It would be great if they improve this.
admin.php field example
'count' => [
'type' => 'slider',
'title' => Text::_('Items Per Column'),
'min' => 1,
'max' => 6,
'responsive' => true,
'std' => ['xxl' => 5, 'xl' => 4, 'lg' => 3, 'md' => 3, 'sm' => 2, 'xs' => 2],
],
render() function code
var_dump($settings->count_xxl);
Returns in live editor:
Warning: Undefined property: stdClass::$count_xxl in
Return in Public part: string '6'
Regards