Fix non-schema data saving
This commit is contained in:
parent
d9567f01e2
commit
71a52b4b50
|
@ -110,6 +110,7 @@ AbstractClass.create = function (data) {
|
|||
create();
|
||||
} else {
|
||||
obj = new this(data);
|
||||
data = obj.toObject(true);
|
||||
|
||||
// validation required
|
||||
obj.isValid(function (valid) {
|
||||
|
|
Loading…
Reference in New Issue