My workaround at the moment was to add the following class to styles.scss
Code: Select all
.ui-inputgroup {
.ui-inputgroup-addon {
&.ui-inputgroup-addon-fill {
background-color: $textboxBgColor;
}
}
}
Code: Select all
<div class="ui-inputgroup">
<span class="md-inputfield md-inputfield-fill">
<input pInputText type="text" name="foo" id="foo" [(ngModel)]="this.foo">
<label for="foo">foo</label>
</span>
<span class="ui-inputgroup-addon ui-inputgroup-addon-fill">bar</span>
</div>