diff --git a/formwidgets/Blocks.php b/formwidgets/Blocks.php index 0d9443d..f746ad5 100644 --- a/formwidgets/Blocks.php +++ b/formwidgets/Blocks.php @@ -344,7 +344,7 @@ protected function processInspectorConfig(array $config): array } } elseif (is_callable($defined['options'])) { $callable = $defined['options']; - $defined['options'] = $callable($this->formWidget, $this->formField); + $defined['options'] = $callable($property); } }