-
Notifications
You must be signed in to change notification settings - Fork 126
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
fix(platform): fdp-table Enhance the <fdp-table-p13-dialog [table]="table"> component to emit an event with the selected column #12430
Conversation
closes (#12293)[#12293] ## Description - Enhance the <fdp-table-p13-dialog [table]="table"></fdp-table-p13-dialog> component to emit an event with the selected column details when the OK button is clicked in the dialog. - This allows the application to subscribe to this event and persist the user’s selected columns.
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Visit the preview URL for this PR (updated for commit 341e7f4): https://fundamental-ngx-gh--pr12430-feat-emit-selected-c-x8y69a5b.web.app (expires Sat, 21 Sep 2024 08:54:23 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff |
@@ -78,6 +86,10 @@ export class TableP13DialogComponent implements OnDestroy { | |||
return this._table; | |||
} | |||
|
|||
/** Event emitted when dialog is closed. */ | |||
@Output() | |||
closeDialog = new EventEmitter<string[]>(); |
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.
In my opinion, should be called dialogClosed
, in past-tense, since it is an event that is triggered after closing. closeDialog
gives me the impression it's a method that can be called that will then close the dialog
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.
Make sense, I've changed it.
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.
looks good, just one comment above
closes #12293
Description