ngx-permissions
ngx-permissions copied to clipboard
Strategies to disable a button no longer works
The strategies for disabling buttons when a user does not have permission doesn't seem to work anymore recently. Maybe since the Angular 9.1.0 release?
I've been following the whole wiki about this feature, and where it's been working for over a year now I found that my application had a regression.
I've tried to figure out where the problem could have come from, but I don't see it.
Do you have the same problem? Thanks
If I replace nextSibling with previousSibling it points to my button which should be disabled and it works. Finally I have the impression that it's mostly the Readme that should be edited. I'll let you see if it's a regression or the desired behavior.
Hopefully this will help people who have the same concerns as me.
Hi @GitHubish Thank You. I will leave this open maybe it will help people. If this behaviour will still be in the future(they can change it). I will change wiki :-)