This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
src/guides/v2.3/ui_comp_guide/components Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,24 @@ Here is an example of how File Uploader component integrates with [Form]({{ page
29
29
...
30
30
<fieldset name =" foo" >
31
31
...
32
- <argument name =" data" xsi : type =" array" >
33
- <item name =" config" xsi : type =" array" >
34
- <item name =" label" xsi : type =" string" />
35
- </item >
36
- </argument >
37
- <field name =" bar" >
38
- <argument name =" data" xsi : type =" array" >
39
- <item name =" config" xsi : type =" array" >
40
- <item name =" label" xsi : type =" string" >Sound Check</item >
41
- <item name =" visible" xsi : type =" boolean" >true</item >
42
- <item name =" formElement" xsi : type =" string" >fileUploader</item >
43
- <item name =" uploaderConfig" xsi : type =" array" >
44
- <item name =" url" xsi : type =" url" path =" path/to/controller" />
45
- </item >
46
- </item >
47
- </argument >
32
+ <settings >
33
+ <label translate =" true" >Foo</label >
34
+ <collapsible >true</collapsible >
35
+ <opened >true</opened >
36
+ </settings >
37
+ <field name =" bar" formElement =" fileUploader" >
38
+ <settings >
39
+ <label translate =" true" >Bar</label >
40
+ </settings >
41
+ <formElements >
42
+ <fileUploader >
43
+ <settings >
44
+ <uploaderConfig >
45
+ <param xsi : type =" string" name =" url" >path/to/controller</param >
46
+ </uploaderConfig >
47
+ </settings >
48
+ </fileUploader >
49
+ </formElements >
48
50
</field >
49
51
</fieldset >
50
52
</form >
You can’t perform that action at this time.
0 commit comments