I have a baseMap, Report
which has another baseMap, Event
as a property. validate()
in Report
model calls the validate()
on Event
model instance as well.
When calling reportInstance.validate()
in a component, an exception that the event model instance does not have a validate method is raised.
Complete example and how to reproduce the exception are shown at https://jsbin.com/dizacon/edit?js,output