Skip to content

Commit f74e303

Browse files
authored
Merge pull request #132 from netgrif/NAE-1367
[NAE-1367] Boolean does not have desc
2 parents 740d1ab + 6c18da6 commit f74e303

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

projects/netgrif-components/src/lib/data-fields/boolean-field/boolean-field.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<mat-slide-toggle color="primary" [formControl]="formControl">
1313
{{createValueLabel()}}
1414
</mat-slide-toggle>
15+
<mat-hint>{{dataField.description}}</mat-hint>
1516
<mat-error *ngIf="dataField.isInvalid(formControl)">{{getErrorMessage()}}</mat-error>
1617
</div>
1718
</ng-template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mat-hint {
2+
display: block;
3+
}

0 commit comments

Comments
 (0)