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

MasterDetail TUI inline edits don't respect validations #1290

Open
Luke1982 opened this issue May 24, 2022 · 3 comments
Open

MasterDetail TUI inline edits don't respect validations #1290

Luke1982 opened this issue May 24, 2022 · 3 comments
Labels

Comments

@Luke1982
Copy link
Contributor

Peek 2022-05-24 17-18
I created a custom validation that does not allow you to change a certain dropdown, except when you have the correct role. But the TUI grid editor allows me to change this certain value, while I shouldn't be allowed to (as you can see, the regular detailview does not allow me to)

@Luke1982 Luke1982 added the bug label May 24, 2022
@xhildashazivari
Copy link
Contributor

Can you please try now? Let us know!

@Luke1982
Copy link
Contributor Author

Works now! The only problem I see is that the warning text does not run through the translation. Not a big problem: but the original validation does try to translate first. Or is the problem that the module context is gone?

@Luke1982
Copy link
Contributor Author

Peek 2022-05-31 15-15
One more thing I see: the message part allows you to call a user defined function. That shows up as a 'message' here. Could we execute the custom function here? That function should then test in which context it is, but that is up to the programmer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants