block.json
23 lines
| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/block.json", |
| 3 | "apiVersion": 2, |
| 4 | "name": "surecart/conditional-form", |
| 5 | "title": "Conditional", |
| 6 | "description": "Display an area of the form based on conditions.", |
| 7 | "category": "surecart", |
| 8 | "textdomain": "surecart", |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false, |
| 13 | "multiple": true, |
| 14 | "align": ["wide", "full"] |
| 15 | }, |
| 16 | "attributes": { |
| 17 | "rule_groups": { |
| 18 | "type": "array", |
| 19 | "default": [] |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 |