diff --git a/packages/formoj/example/data/form.json b/packages/formoj/example/data/form.json index adb4d27..35a65ca 100644 --- a/packages/formoj/example/data/form.json +++ b/packages/formoj/example/data/form.json @@ -50,6 +50,9 @@ "multiple": false, "radios": true, "label": "Genre", + "conditionalDisplay": { + "5": [1] + }, "options": [ { "id": 1, @@ -67,6 +70,9 @@ "id": 2, "title": "Ma section 2", "description": "Deuxième questions", + "conditionalDisplay": { + "8": [1] + }, "fields": [ { "id": 2, diff --git a/packages/formoj/src/components/Form.vue b/packages/formoj/src/components/Form.vue index 8d4ea26..2b2e78b 100644 --- a/packages/formoj/src/components/Form.vue +++ b/packages/formoj/src/components/Form.vue @@ -9,7 +9,7 @@