我該如何調整md-input元件的長度? size/width屬性似乎不起作用。 在下面的例子中,我試圖讓地面單位相同長度的塊數如何調整角度材質的長度md -input
<md-list-item>
<md-input [(ngModel)]="customer.custEmail" name="custEmail" type="text" placeholder="Email address"></md-input>
</md-list-item>
<md-list-item>
<md-input [(ngModel)]="customer.custDisplayName" name="custDisplayName" type="text" placeholder="Display Name"></md-input>
</md-list-item>
<md-list-item>
<md-input [(ngModel)]="customer.addressPostal" name="addressPostal" type="number" placeholder="Postal Code"></md-input>
</md-list-item>
<md-list-item>
<md-input [(ngModel)]="customer.addressBlk" name="addressBlk" type="number" placeholder="Block No."></md-input>
</md-list-item>
<md-list-item>
<md-input [(ngModel)]="customer.addressStreet" name="addressStreet" type="number" placeholder="Street"></md-input>
</md-list-item>
<md-list-item>
<md-input [(ngModel)]="customer.addressFloor" name="addressFloor" type="number" placeholder="Floor" size="4"></md-input> -
<md-input [(ngModel)]="customer.addressUnit" name="addressUnit" type="number" placeholder="Unit" size="4"></md-input>
</md-list-item>
</md-list>
呃..基本上顯示的輸入字段 – Nick