-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACS-8254 [ADF] Add functionality to pass data on confirmation in DialogComponent #9845
ACS-8254 [ADF] Add functionality to pass data on confirmation in DialogComponent #9845
Conversation
bf490b2
to
4cc4b25
Compare
@@ -89,9 +89,12 @@ function openDialog() { | |||
title: 'Dialog title', | |||
contentComponent: ExampleDialogComponent, | |||
componentData: { nodeId: 'nodeId', name: 'node name' } // any data can be passed | |||
dataOnConfirm$: of({ nodeId, data: {} }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay so what is the use case for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you click confirm button and need to pass any data to after close action. So this is the case when we call dialog in effects and want to do something with data we can pass it in component or service and get in effects
6286013
to
591489a
Compare
|
Please check if the PR fulfills these requirements
https://hyland.atlassian.net/browse/ACS-8254
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
can't pass data on confirmation
dataOnConfirm$
What is the new behaviour?
Able to pass data on confirmation with
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: