mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
disable floating labels (#5669)
This commit is contained in:
parent
1a9259d00f
commit
373025c3b4
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
<div *ngSwitchDefault>
|
<div *ngSwitchDefault>
|
||||||
<mat-form-field class="adf-property-field adf-card-textitem-field"
|
<mat-form-field class="adf-property-field adf-card-textitem-field"
|
||||||
[ngClass]="{ 'adf-property-read-only': !isEditable }">
|
[ngClass]="{ 'adf-property-read-only': !isEditable }"
|
||||||
|
[floatLabel]="'never'">
|
||||||
<input matInput
|
<input matInput
|
||||||
*ngIf="!property.multiline"
|
*ngIf="!property.multiline"
|
||||||
class="adf-property-value"
|
class="adf-property-value"
|
||||||
@ -73,7 +74,8 @@
|
|||||||
|
|
||||||
<mat-form-field *ngIf="isEditable"
|
<mat-form-field *ngIf="isEditable"
|
||||||
class="adf-property-field adf-textitem-chip-list-input"
|
class="adf-property-field adf-textitem-chip-list-input"
|
||||||
[ngClass]="{ 'adf-property-read-only': !isEditable }">
|
[ngClass]="{ 'adf-property-read-only': !isEditable }"
|
||||||
|
[floatLabel]="'never'">
|
||||||
<input matInput
|
<input matInput
|
||||||
class="adf-property-value"
|
class="adf-property-value"
|
||||||
[placeholder]="property.default | translate"
|
[placeholder]="property.default | translate"
|
||||||
@ -94,7 +96,8 @@
|
|||||||
(click)="clicked()"
|
(click)="clicked()"
|
||||||
fxLayout="row"
|
fxLayout="row"
|
||||||
fxLayoutAlign="space-between center">
|
fxLayoutAlign="space-between center">
|
||||||
<mat-form-field class="adf-property-field adf-card-textitem-field">
|
<mat-form-field class="adf-property-field adf-card-textitem-field"
|
||||||
|
[floatLabel]="'never'">
|
||||||
<input matInput
|
<input matInput
|
||||||
[type]=property.inputType
|
[type]=property.inputType
|
||||||
class="adf-property-value"
|
class="adf-property-value"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user