Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

how use expressions for flex value #4959

Closed
@kburson

Description

@kburson

i would like to use an expression in my table div flex values within a nested ng-repeat

<div class="table">
  <div class="row" ng-repeat="row in ::data">
      <div class="cell ng-repeat="field in ::fields" flex="field.width">
         {{row[field.name].value}}
      </div>

but this seems to simply add a class name of "flex-" + expression : ie. "flex-field.width"

i tried wrapping in single and double braces, nothin works. when I use ng-class to emulate i get mixed results.

what is the proper way to use expressions with flex?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions