Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cannot submit data #7819


User avatar
0
sophoana created

Hi Support

I want to submit two module only time. but I used only function. And than it alert message on point "/** 2. function submit */".

My code:

save(): void {
      this.saving = true;
      /** 1. function submit */
      this._customerServiceProxy.createCustomers(this.customer)
          .pipe(finalize(() => this.saving = false))
          .subscribe(() => {
            /** 2. function submit */
              this._defaultSettingServiceProxy.createOrEditDefaultSettingByName(this.defaultSettingSaleCode)
              .pipe(finalize(() => this.saving = false))
              .subscribe(() => {this.modalSave.emit(null);})
              this.notify.info(this.l('SavedSuccessfully'));
              this.close();
              this.modalSave.emit(null);
          });
    }

-Errow message


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Can you check the logs of the browser console and the backend application?

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.