'* ngFor'の値を動的に設定したいと思います。 私のようなdivの持っている:私はこのような上部の声明をしたい<div *ngFor="let section of anyArr; let i = index"> : <div *ngFor="let section of {{anyArr}}; let i = index">`
私が欲しい 'をdummyArr' anyArr = my
ページの読み込み時に、日付入力フィールドの日付が現在の日付に設定されます。フォームがリセットされたとき、図に示すように、しかし、デフォルトの日付は on page load on resetting the form が// をapp.component.ts日付フィールドがクリアされる代わりに復元されませんトンで export class AppComponent implements OnIn