Skip to content

Commit 20d2a7b

Browse files
author
Oleksandr Dubovyk
committed
MAGETWO-98183: [2.3] State is always required in backend in customer address form
1 parent 8dfe26a commit 20d2a7b

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer/Region.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
4848

4949
$regionId = $element->getForm()->getElement('region_id')->getValue();
5050

51-
$html = '<div class="field field-state required admin__field _required">';
51+
$html = '<div class="field field-state admin__field">';
5252
$element->setClass('input-text admin__control-text');
5353
$element->setRequired(true);
5454
$html .= $element->getLabelHtml() . '<div class="control admin__field-control">';

0 commit comments

Comments
 (0)