diff --git a/wire/core/Field.php b/wire/core/Field.php index 5e038668..862728fa 100644 --- a/wire/core/Field.php +++ b/wire/core/Field.php @@ -786,7 +786,12 @@ public function ___getInputfield(Page $page, $contextStr = '') { // custom field settings foreach($this->data as $key => $value) { - if($inputfield->hasSetting($key) || $inputfield->hasAttribute($key)) { + if($inputfield instanceof InputfieldWrapper) { + $has = $inputfield->hasSetting($key) || $inputfield->hasAttribute($key); + } else { + $has = $inputfield->has($key); + } + if($has) { if(is_array($this->trackGets)) $this->trackGets($key); $inputfield->set($key, $value); }