Display messages/notifications #10896
Replies: 2 comments 1 reply
-
The purpose of validation is to prevent an erroneous or invalid action from taking place. There is no facility in place to permit an invalid action but provide a warning, as that would be of extremely limited utility. Instead, you might consider writing a report to routinely check for non-conforming names. |
Beta Was this translation helpful? Give feedback.
-
Unrelated to your issue but this will not work:
The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I would like some help with messages, please. I'm writing a custom validator and I need to display a warning message if for example a device name doesn't fit the company's policy. I can't use the fail method - the edit request should be fulfilled, it's just supposed to warn the user as well. I would like to use a box message like in #9650, just with the warning level.
I tried something like this:
But clearly, my syntax is wrong - I get the "Server Error" window and following message:
Could someone please give me an example how to display a message in this context?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions