{"action":"created","issue":{"url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/16","labels_url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/16/comments","events_url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/16/events","html_url":"https://github.com/wbraganca/yii2-dynamicform/issues/16","id":54710697,"number":16,"title":"Error in model?","user":{"login":"DarkDrim","id":3989836,"avatar_url":"https://avatars.githubusercontent.com/u/3989836?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDrim","html_url":"https://github.com/DarkDrim","followers_url":"https://api.github.com/users/DarkDrim/followers","following_url":"https://api.github.com/users/DarkDrim/following{/other_user}","gists_url":"https://api.github.com/users/DarkDrim/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDrim/subscriptions","organizations_url":"https://api.github.com/users/DarkDrim/orgs","repos_url":"https://api.github.com/users/DarkDrim/repos","events_url":"https://api.github.com/users/DarkDrim/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDrim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-18T21:23:41Z","updated_at":"2015-01-18T22:40:22Z","closed_at":null,"body":"Thank you for this component. Exactly what was needed. But there is an error:\r\nin the model (app \\ base) we return \"return $models;\"\r\nA check in the controller:\r\n  $ valid = Model :: validateMultiple ($ modelsAddress) && $ valid\r\nbut the Model :: validateMultiple () does not return the same boolean ???\r\nThis method is somehow returns false."},"comment":{"url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/comments/70430013","html_url":"https://github.com/wbraganca/yii2-dynamicform/issues/16#issuecomment-70430013","issue_url":"https://api.github.com/repos/wbraganca/yii2-dynamicform/issues/16","id":70430013,"user":{"login":"DarkDrim","id":3989836,"avatar_url":"https://avatars.githubusercontent.com/u/3989836?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDrim","html_url":"https://github.com/DarkDrim","followers_url":"https://api.github.com/users/DarkDrim/followers","following_url":"https://api.github.com/users/DarkDrim/following{/other_user}","gists_url":"https://api.github.com/users/DarkDrim/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDrim/subscriptions","organizations_url":"https://api.github.com/users/DarkDrim/orgs","repos_url":"https://api.github.com/users/DarkDrim/repos","events_url":"https://api.github.com/users/DarkDrim/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDrim/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T22:40:22Z","updated_at":"2015-01-18T22:40:22Z","body":"When adding an entry (method create)\r\nModel :: validateMultiple ($ modelsAddress)\r\nA blank code:\r\narray (1) {\r\n   [0] =>\r\n   object (app \\ models \\ Address) # 77 (8) {\r\n     [\"_attributes\": \"yii \\ db \\ BaseActiveRecord\": private] =>\r\n     array (0) {\r\n     }\r\n     [\"_oldAttributes\": \"yii \\ db \\ BaseActiveRecord\": private] =>\r\n     NULL\r\n     [\"_related\": \"yii \\ db \\ BaseActiveRecord\": private] =>\r\n     array (0) {\r\n     }\r\n     [\"_errors\": \"yii \\ base \\ Model\": private] =>\r\n     NULL\r\n     [\"_validators\": \"yii \\ base \\ Model\": private] =>\r\n     NULL\r\n     [\"_scenario\": \"yii \\ base \\ Model\": private] =>\r\n     string (7) \"default\"\r\n     [\"_events\": \"yii \\ base \\ Component\": private] =>\r\n     array (0) {\r\n     }\r\n     [\"_behaviors\": \"yii \\ base \\ Component\": private] =>\r\n     array (0) {\r\n     }\r\n   }\r\n}\r\n\r\nand therefore does not pass validation. But why?"}}