Skip to content

Commit 0ff3e0e

Browse files
author
Nikita Chubukov
committed
MAGETWO-58226: Calendar Custom Options are displayed broken on Storefront
- Preventing error messages below each field of date type for Customizable Options
1 parent f1b43ab commit 0ff3e0e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

app/design/frontend/Magento/blank/web/css/source/_forms.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@
105105
.date {
106106
&.required {
107107
div[for*='options'] {
108-
display: none !important;
108+
&.mage-error {
109+
display: none !important;
110+
}
109111
}
110112
}
111113
}

app/design/frontend/Magento/luma/web/css/source/_forms.less

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,12 @@
114114
}
115115

116116
.product-options-wrapper {
117-
.required {
118-
div[for*='options'] {
119-
&.mage-error {
120-
display: none !important;
117+
.date {
118+
&.required {
119+
div[for*='options'] {
120+
&.mage-error {
121+
display: none !important;
122+
}
121123
}
122124
}
123125
}

0 commit comments

Comments
 (0)