Skip to content

Commit

Permalink
docs: update image examples of soft validations (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelrss authored Jan 22, 2024
1 parent e6b0a63 commit b611f95
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions content/app/development/logic/validation/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,9 +538,7 @@ Examples on display of different validations below:

!["Success message"](success-message.jpeg "Example on success message (*SUCCESS* - prefix)")

!["Warning message"](warning-message.jpeg "Example on warning message (*WARNING* - prefix)" )

It is also possible to overrule the title you see on the messages by adding the keys `soft_validation.info_title`, `soft_validation.warning_title`, and `soft_validation.success_title` in the text resources if you want to set a custom title.
!["Warning message"](warning-message.jpeg "Example on warning message (*WARNING* - prefix)" )

## Group validation

Expand All @@ -554,7 +552,7 @@ and `validateRow` only runs validation on the row the user is trying to save. Ex
"data": {
"layout": [
{
"id": "demo-gruppe",
"id": "demo-gruppe",|
"type": "Group",
"children": [
"..."
Expand Down
Binary file modified content/app/development/logic/validation/info-message.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/app/development/logic/validation/success-message.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/app/development/logic/validation/warning-message.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b611f95

Please sign in to comment.