Name |
Last commit
|
Last update |
---|---|---|
apps | ||
build | ||
docs | ||
extensions | ||
framework | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.scrutinizer.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
composer.json | ||
phpunit.xml.dist |
Fixes #4371: Active form client validation wasn't working in case of two models having same named fields When rendering multiple models in the same ActiveForm if any of the field names in the two models is the same then the corresponding attribute in the yiiActiveForm object in yiiActiveForm.js (ie $('form').data('yiiActiveForm').attributes) of the first rendered model is overwritten by the attribute of the last model causing the client-side validation for the overwritten field not to run at all. Example: given two models Car and Owner with attributes {make, age} and {name, age} then if the Car is rendered first its age attribute will not have any client validation.
Name |
Last commit
|
Last update |
---|---|---|
apps | Loading commit data... | |
build | Loading commit data... | |
docs | Loading commit data... | |
extensions | Loading commit data... | |
framework | Loading commit data... | |
tests | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
.scrutinizer.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
LICENSE.md | Loading commit data... | |
README.md | Loading commit data... | |
composer.json | Loading commit data... | |
phpunit.xml.dist | Loading commit data... |