Hello,
Cristóbal Belda Pérez
1

You can pass anything in the componentInstance. If you want to update it, and receive the updated value back in the observable, then you just change the ‘true’ (on the click event of the OK button) to the object you’ve modified and want to pass back:

dialogRef.close(objectToPassBack)

Hope this makes sense.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.