2amigos / yii2-editable-widget

X-Editable Widget for Yii2
Other
58 stars 20 forks source link

max(): When only one parameter is given, it must be an array #37

Open timmy78 opened 5 years ago

timmy78 commented 5 years ago

Hello

When I use the widget and that I have for example a value "Max" for the column "firstname", I have this error.

max(): When only one parameter is given, it must be an array in C:\wamp\www\dlf\vendor\2amigos\yii2-editable-widget\src\Editable.php l.106 : $show = call_user_func($value, $this->model);

Is it normal this call_user_func with directly the value ?

Thanks !