akveo / akveo/ng2-smart-table

Ng2-smart-table list set selected item trouble.

オープン
#1,016 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
867
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。