Skip to content
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.

md-select is not consistent to input containers in form #1738

Closed
@marshfire

Description

@marshfire

Hi,

I'm trying to use the md-select in a form in a dialog and I can't get any consistent layout for it. See the result below. I would expect the line of the interval select to be the same position as of the input and it would be more consistent to have the label on top also.

Any hints on how to reach that? Browser is Chrome.

image

it is generated with the following code (jade):

md-input-container
  label Name
  input(ng-model="budget.name")
md-input-container
  label Description
  input(ng-model="budget.info")
div(layout, layout-sm="column")
  md-input-container(flex)
    label Start date
    input(type="date", ng-model="budget.startdate")
  md-select(ng-model="budget.interval", placeholder="Interval", flex)
    md-option(ng-value="opt", ng-repeat="opt in intervals") {{ opt }}
md-input-container
  label Icon
  input(ng-model="budget.icon")
md-input-container
  label Amount
  input(ng-model="budget.budget", ng-currency, currency-symbol="{{budget.currencySymbol}}")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions