Skip to content

Commit 4170f72

Browse files
committed
set admin field as requaired
1 parent f121ac8 commit 4170f72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Swatches/view/adminhtml/ui_component/product_attribute_add_form.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@
292292
<settings>
293293
<dataType>text</dataType>
294294
<label translate="true">Admin</label>
295+
<required>true</required>
296+
<validation>
297+
<rule name="required-entry" xsi:type="boolean">true</rule>
298+
</validation>
295299
</settings>
296300
</field>
297301
<field name="position" component="Magento_Catalog/js/form/element/input" formElement="input">

0 commit comments

Comments
 (0)