Closed tsdogs closed 5 years ago
Same for me after doing composer update today
'value' => function($model) was working.
@kartik-v any ideas ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ihmo this should be fixed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
if I configure an attribute like
this does not work as $model is NULL (I think because it's passing the
$this->_form
as parameter?)in the yii2 DetailView the first attribute is the model and works as expected.
To solve this we need to use the
$widget->model['value']
insthead.IMHO the default behaviour should be respected, or documentation should report that the behaviour is not compatible with yii2 DetailView anymore.