Reputation: 89
I found 'md-position-mode' directive, but it works only with menu('md-menu'), help me please to find something similar for inputs dropdown
Upvotes: 1
Views: 659
Reputation: 12813
If by "inputs dropdown" you mean md-select
you can use the md-container-class
attribute with some CSS - CodePen
Markup
<md-input-container>
<label>State</label>
<md-select id="mySelect" ng-model="ctrl.userState" md-container-class="selectList">
<md-option ng-repeat="state in ctrl.states" value="{{state.abbrev}}" ng-disabled="$index === 1">
{{state.abbrev}}
</md-option>
</md-select>
</md-input-container>
CSS
.selectList {
margin-left: 100px;
margin-top: 50px;
}
Upvotes: 1