question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

md-order-by expression change inserts duplicates sort arrows and breaks functionality

See original GitHub issue
      <table md-table>
        <thead md-head md-order="ctrl.query.order">
          <tr md-row>
            <th md-column md-numeric md-order-by="collection[{{ key }}].{{ mySelectedDynamicProperty }}" ng-repeat="(key, col) in ctrl.data[0].collection">Title</th>
          </tr>
        </thead>

when mySelectedDynamicProperty changes a duplicate arrow is inserted in the TH, and loses clicking functionality

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ilovettcommented, Apr 19, 2016

Awesome dude thanks for the quick fix!

0reactions
daniel-nagycommented, Apr 19, 2016

Okay this should be fixed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Table] Sort arrows are not rendered properly in tabs #7291
Can't put a sortable table inside of a mat tab group. The table header arrow changes to a "T" after clicking one of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found