Closed russeljo closed 2 years ago
vendor/yiisoft/yii2/assets/yii.activeForm.js
var disabled = $input.toArray().reduce((result, next) => result && $(next).is(':disabled'), true);
please, change it to compatible variant
var disabled = $input.toArray().reduce( function(result, next){ return (result && $(next).is(':disabled')) } ,true);
It was already fixed and released. Update your Yii.
vendor/yiisoft/yii2/assets/yii.activeForm.js
var disabled = $input.toArray().reduce((result, next) => result && $(next).is(':disabled'), true);
please, change it to compatible variant