hello, I am using the Modal option for angular provided in the doc. I assign the function for the onDismiss, when running I can not access any data or variable of the main class. Returns an undefined value to me
Here is the nice article with examples for the ngBoostrap: https://www.freakyjolly.com/ng-bootstrap-modals-tutorial-pass-data-from-parent-and-get-back-from-modals/. Maybe it will help you then.