File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
guides/v2.2/ui_comp_guide/components Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,33 @@ The Hidden component is a form element that implements the [HTML](https://glossa
12
12
| ` component ` | The path to the component’s JS constructor in terms of RequireJS. | String | ` Magento_Ui/js/form/element/abstract ` |
13
13
| ` template ` | The path to the component’s ` .html ` template. | String | ` ui/form/element/hidden ` |
14
14
15
+ ## Source files
16
+
17
+ Extends [ ` UiElement ` ] ({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uielement_concept.html):
18
+
19
+ - [ app/code/Magento/Ui/view/base/web/js/form/element/abstract.js] ({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/form/element/abstract.js)
20
+ - [ app/code/Magento/Ui/view/base/web/templates/form/element/hidden.html] ({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/templates/form/element/hidden.html)
21
+
22
+ ## Examples
23
+
24
+ ### Integrate the Hidden component with the Form component
25
+
26
+ This example integrates the Hidden component with the [ Form] ({{ page.baseurl }}/ui_comp_guide/components/ui-form.html) component.
27
+
28
+ ``` xml
29
+ <form >
30
+ ...
31
+ <fieldset >
32
+ ...
33
+ <hidden name =" hidden_example" >
34
+ <settings >
35
+ <value >hidden value</value >
36
+ </settings >
37
+ </hidden >
38
+ </fieldset >
39
+ </form >
40
+ ```
41
+
42
+ ### Result
43
+
44
+ ![ Hidden Component example] ({{ site.baseurl }}/common/images/ui_comps/ui-hidden-result.png)
You can’t perform that action at this time.
0 commit comments