Closed gpopovic closed 9 years ago
Please provide a CodePen or Plunkr that demonstrates this issue. Here are some starter demo templates that you can use/fork:
@gpopovic It should work if you remove the {{}}
surrounding your expression. The issue is that md-autofocus
does expect an expression, so you don't need to wrap the expression.
Closing for now, but if that doesn't work, please reply and I will re-open.
It would be nice if md-autofocus would be an expression, instead of boolean (example usage: on big screen autofocus autocomplete field, on small screens don't)
Not sure why but i'm unable to get it working by using md-autofocus="{{expression()}}"