-
Notifications
You must be signed in to change notification settings - Fork 256
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
Keep cg-busy visible with error responses #74
Comments
You might use an http interceptor, but this is totally not related to cg-busy |
It's quite releate, imho... Cg-busy already take care of loading status and success status... why not adding a little support for error status? It's a pretty common scenario the need of blocking stuff if something goes wrong |
@LeleDev i suggest you can use ng-if inside your template to disable UI. But I totally support your suggestion. |
@Mart-Bogdan It wouldn't be the same, because in that case the controls would be completely removed... instead I just want to lock them while keeping them visible under the cg-busy semi-transparent backdrop. I'm using cg-busy everywhere in my app, so I'd need an huge effort to achieve the same result with a non-native solution... |
+1 |
1 similar comment
👍 |
Hi there!
I'd like to in istruct cg-busy to stay visible (maybe showing an error message instead of the loading one) in case of request error, in order to block user interaction with not-ready content.
Is there any way way to achieve this result with cg-busy at the moment? If not, could this feature be easily added to the existing code?
Thank you in advance
The text was updated successfully, but these errors were encountered: