Skip to content

Commit

Permalink
docs: fix a typo in validation section of scenario parameters configu…
Browse files Browse the repository at this point in the history
…ration doc
  • Loading branch information
esasova committed Aug 31, 2023
1 parent 621b56b commit db0bb2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/scenarioParametersConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ parameters:
### Validation

To prevent errors of user's input in front-end interface, generic components for parameters of type date, number, int, string and bool are implemented with some validation rules such as `required`, `isInteger`,
`minValue` and `maxValue1`, `minDate` and `maxDate`, `minLength` and `maxLength`.
`minValue` and `maxValue`, `minDate` and `maxDate`, `minLength` and `maxLength`.

Alongside basic validation, it is possible to configure some constraining rules between parameters
which can be useful for parameters like _Start date_ and _End date_. Following constraints can be defined:
Expand All @@ -436,6 +436,8 @@ which can be useful for parameters like _Start date_ and _End date_. Following c
| equal to | `==` | date, number, int, string, bool |
| different from | `!=` | date, number, int, string, bool |

_Note: For this type of validation to work, both parameters must belong to the same parameter group_

Constraints must be defined in options as a plain string and contain the type of the constraint and the id of constraining parameter:

```yaml
Expand Down

0 comments on commit db0bb2e

Please sign in to comment.