【发布时间】:2016-03-13 17:36:28
【问题描述】:
我有以下角度材质代码
<div ng-app="MyApp" ng-controller="AppCtrl as ctrl">
<md-input-container>
<label>SOME_LABEL</label>
<md-select ng-model="some.model">
<md-option value="SOME_OPTION_HERE" ng-disabled="$index === 1">
SOME_OPTION_HERE
<md-progress-linear md-mode="determinate" value="25"></md-progress-linear>
</md-option>
<md-option value="SOME_OTHER_OPTION_HERE" ng-disabled="$index === 1">
SOME_OTHER_OPTION_HERE
<md-progress-linear md-mode="determinate" value="35"></md-progress-linear>
</md-option>
</md-select>
</md-input-container>
</div>
It shows the progressbars at the bottom of the option, but they are not 100% wide when select dropdown is visible.此外,选择选项时,将垂直剪切进度条。如何在选择选项后显示完整的进度条高度并显示 100% 宽度的进度条?
Codepen 链接:http://codepen.io/anon/pen/XdjaeK
【问题讨论】:
标签: css angular-material