Я не знаю, почему старые предложения моего ввода имеют цвет темный . Исходное состояние: ![enter image description here](https://i.stack.imgur.com/Y5sdm.png)
И когда я нажимаю в поле ввода:
![enter image description here](https://i.stack.imgur.com/3WdPg.png)
Я полагаю, мы можем настроить его на CSS ?Я использую готовую purple-green.css
theme.
"aaa" и "moi" - мои предыдущие / прежние записи поля ввода.Это не список для выбора!
component.html:
<form #form="ngForm" (ngSubmit)="submit(form)">
<div mat-dialog-content>
<div>
<span class="label-for-input">
<label>Nom du marché :</label>
</span>
<mat-form-field class="input-full-width">
<input matInput id="nomMarche" name="nomMarche" required placeholder="Nom du marché" [(ngModel)]="marche.nomMarche">
</mat-form-field>
</div>
<div>
<span class="label-for-input">
<label>Lieu du marché :</label>
</span>
<mat-form-field class="input-full-width">
<input matInput id="lieuMarche" name="lieuMarche" required placeholder="Lieu du marché" [(ngModel)]="marche.lieuMarche">
</mat-form-field>
</div>
<div>
<span class="label-for-input">
<label>Jour du marché :</label>
</span>
<mat-form-field class="input-full-width">
<input matInput id="jourMarche" name="jourMarche" required placeholder="Jour du marché" [(ngModel)]="marche.jourMarche">
</mat-form-field>
</div>
<div>
<span class="label-for-input">
<label>Heure de début:</label>
</span>
<mat-form-field class="input-full-width">
<input matInput id="heureDebutMarche" name="heureDebutMarche" required placeholder="Heure de début" [(ngModel)]="marche.heureDebutMarche">
</mat-form-field>
</div>
<div>
<span class="label-for-input">
<label>Heure de fin :</label>
</span>
<mat-form-field class="input-normal-width">
<input matInput id="heureFinMarche" name="heureFinMarche" required placeholder="heure de fin" [(ngModel)]="marche.heureFinMarche">
</mat-form-field>
</div>
</div>
<div>
<div class="containerDroiteDialog">
<button type="submit" mat-raised-button color="primary" class="marginBottom">Enregistrer
</button>
<button type="button" mat-raised-button class="marginBottom" (click)="onCloseClick()">Annuler</button>
</div>
</div>
</form>