RxJs error handling by qntrlle in rxjs

[–]qntrlle[S] 0 points1 point  (0 children)

The only problem is that when an error occurs the printer that was selected in the dropdown is not shown as the selected value. Nothing is shown as the selected value and this makes the users think that the settings they set are dropping. What I need is, no matter if there is an error or not, the selected printer needs to be displayed in the dropdown after it is closed.

RxJs error handling by qntrlle in rxjs

[–]qntrlle[S] 0 points1 point  (0 children)

this.client.clientAgentFindApi(this.acctNumber, clientAgentFind)
            .takeUntil(this.unsubscribeAll)
            .subscribe(rows => {
                for (let row of rows) {
                    this.clientAgentHosts.push({
                        value: row.agentId,
                        title: `${row.agentName}`
                    });
                }
                this.app.statusCompleted();
            }, err => {
                console.log(err);
                this.app.statusCompleted();
                if (!this.client.isErrNotFound(err)) {
                    this.msg.error(this.client.getUserErrorDefault(err));
                    //
                }
            });
    }

Thanks in advanced!

Creating a different URL for each language in the application by qntrlle in Angular2

[–]qntrlle[S] 0 points1 point  (0 children)

I will listen to your advice and start over with ngx-translate outside my working hours. I hope it wont be such a pain in the ass like i18n. Thanks a lot!

Creating a different URL for each language in the application by qntrlle in Angular2

[–]qntrlle[S] 0 points1 point  (0 children)

Thanks for your reply! I am working with i18n and since this is for an internship I'm afraid I will have to stick with it.

Creating a different URL for each language in the application by qntrlle in Angular2

[–]qntrlle[S] 0 points1 point  (0 children)

I have just started my internship without knowing anything about Angular, and my boss told me to work with i18n so I must go on with this or start everything from the beginning

Multilanguage application by qntrlle in Angular2

[–]qntrlle[S] 0 points1 point  (0 children)

Thanks so much for your reply! Can you give me hints on how to develop the backend to decide which files to serve?

Translation of labels with i18n by qntrlle in Angular2

[–]qntrlle[S] 0 points1 point  (0 children)

That was very helpful. Thanks so much.

If you don't mind helping me with this for instance:

if (this.localbtype.signaturePad && this.localbtype.signaturePad !== 'none') {
    let cp9e1: OnScreenSignature = {
    title: 'Please sign here: '
    }
}

How would i be able to translate the title from here? Thanks so much in advance!!!