Skip to content
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

NbWindow - passing data when closing #2696

Closed
1 of 2 tasks
ALapaque opened this issue Mar 12, 2021 · 0 comments · Fixed by #2869
Closed
1 of 2 tasks

NbWindow - passing data when closing #2696

ALapaque opened this issue Mar 12, 2021 · 0 comments · Fixed by #2869
Assignees

Comments

@ALapaque
Copy link

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:

I'm using the nbWindow components to enable the user to do multitasking while he's working, so my nbWindow can be a form or things that they can reduce if they need to do something else fast. But the main problem of that is I can't pass anything the close action, so actually I've got to refresh my datatables if they're doing an edit or an add and so...

Expected behavior:

That would be great if on the close action we could pass a data like you did for the NbDialog

Steps to reproduce:

Related code:

DIALOG EXAMPLE :

this.dialogService.open(DialogNamePromptComponent)
      .onClose.subscribe(name => name && this.names.push(name));

EXPECTED :

this.windowService.open(DialogNamePromptComponent)
      .onClose.subscribe(name => name && this.names.push(name));

Other information:

npm, node, OS, Browser

Node : 12.16.3
OS: Windows 10

Angular, Nebular

"@nebular/eva-icons": "7.0.0",
"@nebular/theme": "^7.0.0",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants