Skip to content

Commit 3ce0101

Browse files
author
Doğa Gürdal
committed
fix(snippets/json): add missing name property to flexible content snippet
1 parent cf772c8 commit 3ce0101

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

snippets/json.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,12 @@
396396
"{",
397397
"\t\"label\": \"$1\",",
398398
"\t\"type\": \"flexible_content\",",
399-
"\t\"button_label\": \"Add ${2:Content}\",",
400-
"\t\"min\": ${3:0},",
401-
"\t\"max\": ${4:0},",
399+
"\t\"name\": \"$2\",",
400+
"\t\"button_label\": \"Add ${3:Content}\",",
401+
"\t\"min\": ${4:0},",
402+
"\t\"max\": ${5:0},",
402403
"\t\"layouts\": [",
403-
"\t\t$5",
404+
"\t\t$6",
404405
"\t]",
405406
"}"
406407
]

0 commit comments

Comments
 (0)