Category: Web

Angular FormBuilder group unexpectedly change array to value

Problem Component editor receives an object and create reactive form base on the object passed in. Something like this(most fields are omitted): this.form = new FormBuilder().group({ id:, tags: this.postObj.tags, }); But you will realise the tags field does not really behave like what you wanted(well, at least not what I was expecting) Pass in: […]

Read More

ngx-admin infinite interceptor call

Problem After setting up Auth in ngx-admin, the http call gets stuck in interceptor. You may see error in console like Max call stack reached… Pattern First step to solve a problem is finding when or what the problem is triggered. The problem seems to happen daily and the workaround is to clear the token […]

Read More