,
אני ממירה פרויקט מאנגולר 1 לאנגולר 8.
אני אשמח אם מישהו יוכל לעזור לי איך לכתוב את השורות הבאות:
<select class="form-control" [(ngModel)]="selectUser"
ng-options="user.id as user.name for (key ,user) in users"></select>
ואת השורה הבאה :
<select class="form-control" style="width:200x;" tabindex="4"
ng-model="survey.value"
ng-options="key as getSurveyName(key) for (key ,survey) in surveys">
</select>
אני ממירה פרויקט מאנגולר 1 לאנגולר 8.
אני אשמח אם מישהו יוכל לעזור לי איך לכתוב את השורות הבאות:
<select class="form-control" [(ngModel)]="selectUser"
ng-options="user.id as user.name for (key ,user) in users"></select>
ואת השורה הבאה :
<select class="form-control" style="width:200x;" tabindex="4"
ng-model="survey.value"
ng-options="key as getSurveyName(key) for (key ,survey) in surveys">
</select>