ngFor循环中的多个ngbDatepicker

时间:2018-02-16 08:58:16

标签: angular2-template ng-bootstrap ngb-datepicker

我有一个从pci dma_sync_single_for_cpu()检索到的数据数组。用户应该能够操纵数据。问题是当显示几行时(即data1数组的长度大于1),它在所有#ds输入元素中都是相同的日期。所有#de输入元素都是如此。我已经检查了名为data1的数组中的数据,并且没有重复的日期,所以问题在于html。由于不使用vmalloc()的输入元素工作正常,问题与REST API不知何故有关,但我不知道如何解决它。

ngbDatepicker

此图片说明了问题: Shows identical dates, even though the uppermost datarow contains the start-date 1900-01-01 and end-date 2018-02-11

0 个答案:

没有答案
相关问题