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.
Problem with flex's value from variable #5076
Closed
Description
Hi all,
When setting the flex value from a variable:
<div flex="{{ pane.flex }}"></div>
The resulting HTML is (assuming pane.flex=50):
<div flex="50" class="flex flex-50"></div>
As you can see the "flex" class is the problem. Things get even more strange if there is an ng-repeat:
<div ng-repeat="a in [1]">
<div flex="{{ flexValue }}">TEST</div>
</div>
the resulting html is
<div ng-repeat="a in [1]" class="ng-scope">
<div class="flex-{{-flexValue-}} flex-50" flex="50">TEST</div>
</div>
It's really not a big problem but I figured you may want to know.
Thanks