diff --git a/CHANGELOG.md b/CHANGELOG.md index 19d2ab2..208e583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Yii2 multiple input change log 2.29.0 (in development) ======================= - fix addind active form fields doesn't work properly in case of 10 rows and more (unclead) +- revert changes in normalize method because it affected ajax validation 2.28.0 ======================= diff --git a/src/components/BaseColumn.php b/src/components/BaseColumn.php index bf65c97..d4a9928 100644 --- a/src/components/BaseColumn.php +++ b/src/components/BaseColumn.php @@ -280,7 +280,7 @@ abstract public function getElementName($index, $withPrefix = true); * @return mixed */ private function normalize($name) { - return str_replace(['[]', '][', '[', ']', ' ', '.'], ['', '-', '-', '', '-', '-'], $name); + return str_replace(['[]', '][', '[', ']', ' ', '.'], ['', '-', '-', '', '-', '-'], strtolower($name)); } /**