Hi,
I got a problem with forms in Avalon 2.5.1 (latest version I can download).
I already posted it in the wrong forum, can u have a look at it anyway: viewtopic.php?f=35&t=55538
Avalon and Forms
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
The Problem is in: /sass/theme/_forms.scss
there should be a different variable for this such as for example .
As ng-dirty simply means changed but not invalid.
and this shouldn't be red
hope u gonna include this in next update
Code: Select all
&.ng-dirty {
border: 1px solid $inputInvalidBorderColor;
Code: Select all
$inputTouchedBorderColor
As ng-dirty simply means changed but not invalid.
and this shouldn't be red
hope u gonna include this in next update
Hey there,
we had the exact same problem and worked around by creating a patch file for this and importing it into our main theme file. These are the contents of the patch file:
You might need to adjust the import path, of course.
we had the exact same problem and worked around by creating a patch file for this and importing it into our main theme file. These are the contents of the patch file:
Code: Select all
@import '../../sass/theme-v4/variables';
body {
.ui-inputtext {
&.ng-dirty {
border: 1px solid $inputBorderColor;
}
&.ng-dirty:not(.ng-valid) {
border: 1px solid $inputInvalidBorderColor;
&.ng-invalid {
background-color: $inputInvalidBgColor;
&:hover {
border-color: $inputInvalidBorderColor;
}
&:focus {
border-color: $inputInvalidBorderColor;
box-shadow: none;
}
&:active {
border-color: $inputInvalidBorderColor;
}
}
}
}
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests