Skip to content

Commit 64adba9

Browse files
committed
Add attributes to form element XSD definitions
Without this part of the configuration, children of <formElements> nodes can not have their attributes (such as "class") configured.
1 parent 56c7609 commit 64adba9

File tree

15 files changed

+15
-0
lines changed

15 files changed

+15
-0
lines changed

app/code/Magento/Ui/view/base/ui_component/etc/definition/boolean.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentBooleanSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/checkbox.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentCheckboxSetting">

app/code/Magento/Ui/view/base/ui_component/etc/definition/checkboxset.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentCheckboxsetSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/date.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentDateSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/email.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentEmailSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/file.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentFileSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/hidden.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="hiddenSetting">

app/code/Magento/Ui/view/base/ui_component/etc/definition/input.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:complexType name="componentRange">

app/code/Magento/Ui/view/base/ui_component/etc/definition/multiselect.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</xs:complexType>
3535
</xs:element>
3636
</xs:sequence>
37+
<xs:attributeGroup ref="ui_element_attributes"/>
3738
</xs:complexType>
3839

3940
<xs:group name="componentMultiselectSettings">

app/code/Magento/Ui/view/base/ui_component/etc/definition/price.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</xs:complexType>
3434
</xs:element>
3535
</xs:sequence>
36+
<xs:attributeGroup ref="ui_element_attributes"/>
3637
</xs:complexType>
3738

3839
<xs:group name="componentPriceSettings">

0 commit comments

Comments
 (0)