We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
referenced_list
If I want to be able to remove comments from the post edition page, I can use the following code:
nga.field('comments', 'referenced_list') .targetEntity(comment) .targetReferenceField('post_id') .targetFields([ nga.field('id').isDetailLink(true), nga.field('created_at').label('Posted'), nga.field('body').label('Comment'), ]) .listActions(['delete']) .sortField('created_at') .sortDir('DESC'),
Yet, the Delete button added through the listActions method propose to delete a post, not the selected comment.
Delete
listActions
The text was updated successfully, but these errors were encountered:
Should work since #655
Sorry, something went wrong.
It does work, see marmelab/ng-admin-demo@2d3166e and e.g. http://marmelab.com/ng-admin-demo/#/customers/edit/638
No branches or pull requests
If I want to be able to remove comments from the post edition page, I can use the following code:
Yet, the
Delete
button added through thelistActions
method propose to delete a post, not the selected comment.The text was updated successfully, but these errors were encountered: