Skip to content

Commit

Permalink
Specify that groupComponents.children, needs to be unique (#62)
Browse files Browse the repository at this point in the history
* Specify that groupComponents.children, needs to be unique

Altinn studio designer crashes if there are duplicate entries in groupComponents.children. It will be much easier to catch if VSCode complains.

* Clarify help text
  • Loading branch information
ivarne authored and Ole Martin Handeland committed Nov 1, 2021
1 parent 5ec05fa commit 1619c9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions schemas/json/layout/layout.schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,12 @@
"properties": {
"children": {
"title": "Children",
"description": "An array of child components belonging to the group.",
"description": "An array of the \"id\" of child components belonging to the group.",
"type": "array",
"items": {
"type": "string"
}
},
"uniqueItems": true
},
"edit": {
"title": "Edit",
Expand Down

0 comments on commit 1619c9f

Please sign in to comment.