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.
mdDialog with mdTabs tabs are not rendered correctly #4834
Closed
Description
When placing mdTabs in a mdDialog the mdTab is not rendered correctly in the master branch
<md-dialog class="admin-dialog">
<md-toolbar>
<div class="md-toolbar-tools">
<h2>Create a new User</h2>
</div>
</md-toolbar>
<md-dialog-content>
<form name="createUser" id="createUser" role="form">
<md-tabs md-dynamic-height md-stretch-tabs="always" md-center-tabs>
<md-tab label="Gebruiker">
<md-input-container>
<label>Name</label>
<input id="name" name="name" type="text" md-maxlength="50" required
ng-model="user.Name" />
</md-input-container>
<md-input-container>
<label>Description</label>
<input id="description" name="description" type="text" md-maxlength="250"
ng-model="user.Description" />
</md-input-container>
<md-input-container>
<label>E-mail</label>
<input id="email" name="email" type="email" md-maxlength="255" required
ng-model="user.Email" />
</md-input-container>
<md-input-container>
<label>Password</label>
<input id="password" name="password" type="password" md-maxlength="255" required
ng-model="user.Password" />
</md-input-container>
<md-input-container>
<label>Hoofd Bedrijf</label>
<md-select name="maincompany" ng-model="user.MainCompany" required>
<md-option ng-repeat="company in companyList" value="{{company.Name}}">{{company.Name}}</md-option>
</md-select>
</md-input-container>
</md-tab>
<md-tab label="Rechten">
<md-switch ng-model="user.ManageCompanies" aria-label="ManageCompanies?" ng-disabled="!currentUser.ManageCompanies">
Company Beheer
</md-switch>
<md-switch ng-model="user.ManageProjects" aria-label="ManageProjects?">
Projecten Beheer
</md-switch>
<md-switch ng-model="user.ManageUsers" aria-label="ManageUsers?">
Gebruiker Beheer
</md-switch>
</md-tab>
</md-tabs>
</form>
</md-dialog-content>
<div class="md-actions" layout="row">
<md-button md-no-ink ng-click="cancel()">
{{::lang.standart.cancel}}
</md-button>
<md-button class="md-warn" md-no-ink ng-click="save()" ng-disabled="!createUser.$valid">
{{::lang.standart.save}}
</md-button>
</div>
</md-dialog>
Metadata
Metadata
Assignees
Labels
No labels