Skip to content
Snippets Groups Projects
Commit fa3e15dc authored by rhenck's avatar rhenck
Browse files

Fix TextField 'fill' appearance

The directive for dynamic backgroudn color was outdated. Directive is 
removed and problem is solved via CSS custom variable.

#561
parent 693e93fb
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ Editor
## 2.1.2
### Fehlerbehebungen
- Optionentabelle: Auswahlelement zur Vorbelegung von Zeilen (Dialog) zeigt nun korrekt den gewählten Wert an
- Eingabefeld: Aussehen 'ausgefüllt' repariert
## 2.1.1
### Änderungen
- Duplizierte Elemente verlieren ihren Wert für Spalte/Zeile (Raster - dynamisches Layout)
......
......@@ -14,7 +14,7 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc
[style.font-weight]="elementModel.styling.bold ? 'bold' : ''"
[style.font-style]="elementModel.styling.italic ? 'italic' : ''"
[style.text-decoration]="elementModel.styling.underline ? 'underline' : ''"
aspectInputBackgroundColor [backgroundColor]="elementModel.styling.backgroundColor"
[style.--bla]="elementModel.styling.backgroundColor"
[appearance]="$any(elementModel.appearance)">
<mat-label>{{elementModel.label}}</mat-label>
<input matInput #input
......@@ -55,6 +55,9 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc
:host ::ng-deep .small-input .mdc-notched-outline__notch {
display: none;
}
:host ::ng-deep .mat-mdc-text-field-wrapper {
background-color: var(--bla) !important;
}
.fx-row-center-baseline {
box-sizing: border-box;
display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment