Closed Patricy closed 5 years ago
I am hereby also confirming the validity of the issue.
@Patricy even your temporary solution doesnt work.
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.
Prerequisites
master
branch of yii2-dynagrid.Steps to reproduce the issue
it has
$this->filter
variable = nullIn parent class (which is yii\grid\DataColumn it caused exception because attribute is array but filter is null and it try to render activeTextInput with array attribute
My temporary solution for our project is In kartik\grid\DataColumn.php in method renderFilterCellContent() (line 341) put:
Full code of view and models
sql:
view index.php
Model SomeEntity.php
Search model SomeEntitySearch.php:
SomeEntityController.php (generated, standard):