//wrap it with time out setTimeout(() => { this.deviceForm.setValue({ name: this.editedDevice.name, platform: this.editedDevice.platform, type: this.editedDevice.type, udid: this.editedDevice.frame }); }, );