akveo / akveo/ng2-smart-table

Ng2-smart-table list set selected item trouble.

Đang mở
#1,016 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi everyone,

I'm working on a crud scenario. Adding new item is OK but edit time I have some trouble.
I'm using settings like this, I have listed clearly on adding new item.

``` json
vehicleType: {
title: 'Araç',
editor: {
type: 'list',
config: {
selectText: 'Select',
list: this.vehicleTypeList,
},
}
}
```

But when I want to edit new item **select option** list notthing to show selected item. I want to set **select** item saved data to update data.

As you see below image , when click edit button on the right drop down selected item always empty on red line circle, I need to do blue circle , items need to fill like this.

![gapfluscapture](https://user-images.githubusercontent.com/8382599/58550177-e0443000-8215-11e9-855b-0bfe9c3220da.JPG)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.