ember-light-table icon indicating copy to clipboard operation
ember-light-table copied to clipboard

3.0.0-beta.0 Cannot update rowspan

Open brandynbennett opened this issue 3 years ago • 2 comments

When passing in the rowspan property like this:

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

An error gets thrown in Ember 3.16.8

Uncaught Error: Assertion Failed: You attempted to update <balance-ember@component:light-table/columns/allovue-column::ember2352>._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

brandynbennett avatar Jan 06 '21 17:01 brandynbennett

@brandynbennett is this still an issue on the latest master branch?

RobbieTheWagner avatar Jul 19 '22 14:07 RobbieTheWagner

I'm unsure, sorry.

brandynbennett avatar Jul 19 '22 15:07 brandynbennett