Skip to content

Commit

Permalink
Update forms.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Jan 11, 2024
1 parent a7d1cad commit 596ea3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/user-guide/incidents/forms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ The `if` attribute can be a complex JavaScript boolean expression. Refer to othe
```[ { "type": "boolean", "title": "Is this a good form?", "name": "good_form", "hint": "Check if you like"},
{ "type": "select", "if": "$good_form", "title": "How good?", "options": [ "Very much", "A lot", "It's ok" ], "multiple": false, "name": "like_level"},
{ "type": "text", "if": "$good_form && $like_level && $like_level.includes('A lot')", "title": "Provide more feedback", "name": "feedback"}
]```
]
```

## Fill out a form in an incident

Expand Down

0 comments on commit 596ea3e

Please sign in to comment.