window.formComponents = flight.component(
window.loaderMixin,
window.showErrorsMixin,
window.formMixin,
function() {
this.after('initialize', function() {
this.on("form-load-data", this.showLoader);
this.on("form-load-data-done", this.hideLoader);
this.on("form-load-data-error", this.showErrors)
this.on("show-errors-done", this.hideLoader)
// this.on("from-load-data-error", )
});
});