Day: July 20, 2019

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