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

Exception Handling: Delete warning popup window #488

Closed
siripravi opened this issue May 8, 2020 · 3 comments
Closed

Exception Handling: Delete warning popup window #488

siripravi opened this issue May 8, 2020 · 3 comments

Comments

@siripravi
Copy link

What steps will reproduce the problem?

When I try to delete a record from ngRestModel, I get this popup

What is the expected result?

From where this window comes up? How to configure its contents(like message and behavior etc.)
Another issue:
How to hide delete button for specific rows conditionally. If a record has already been deleted(is_deleted = true), we should not allow the user to delete it again.
delete popup

What do you get instead? (A Screenshot can help us a lot!)

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version
PHP Version
Platform Apache/XAMPP/MAMPP/etc.
Operating system Windows/Linux Server/OSX/etc.
@nadar
Copy link
Contributor

nadar commented May 10, 2020

From where this window comes up?

Its the default behavior for the delete button. If your language is missing, you are welcome to help us translate those messages :-) let me know if you need further assistence on this.

luyadev/luya#1159

How to hide delete button for specific rows conditionally.

There was already an issue regarding this (#16) Its not possible yet, but it might be interessting indeed!

@nadar
Copy link
Contributor

nadar commented Apr 13, 2021

#16 has been implemented

@nadar nadar closed this as completed Apr 13, 2021
@siripravi
Copy link
Author

Thank you. I will check.

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

No branches or pull requests

2 participants