akveo / akveo/ng2-smart-table

editor config for list not working

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

説明

Hi,
I am trying to use editor config list and below is the column config, It works when there is no editor config, like i am able to edit it as a text column but with the list as editor, the grid does now show the value of the column in edit mode at all. It shows rest of the columns properly as they are text field.

I saw a message in the console of browser stating "WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).
platform-browser.js:367 WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."

Any help is greatly appreciated.
Thanks in advance.

` active: {
title: 'Acive',
type: 'text',
editor: {
type: 'list',
config: {
list: [{value: 'Active', title: 'Active'}, {value: 'InActive', title: 'InActive'}],
},
},
},`

other config are as below
`
actions: {add: false},
delete: {
confirmDelete: true,
deleteButtonContent: '

Remove
'
,
edit: {
confirmSave: true,
editButtonContent: '
Edit
',
saveButtonContent: '
Update
',
cancelButtonContent: '
Cancel
'
},
},

`

update : I am using angular2-materialize

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

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

評価

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

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

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