adopted-ember-addons / adopted-ember-addons/ember-light-table

3.0.0-beta.0 Cannot update rowspan

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

説明

When passing in the `rowspan` property like this:

```hbs

{{#each @columns as |column|}}
{{component (concat 'light-table/columns/' column.type) column
table=@table
extra=@extra
rowspan=1
sortIcons=@sortIcons}}
{{/each}}

```

An error gets thrown in Ember 3.16.8

```
Uncaught Error: Assertion Failed: You attempted to update ._rowspan to "1", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as `@tracked`, or use `@ember/object#set` to do this.
```

Looks like it happens from this commit https://github.com/adopted-ember-addons/ember-light-table/commit/1739493f1c9c6d96482e9e1dccf8bf8a7091da41

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

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

評価

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

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

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