Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Input with ng-messages in column layout height issue #4937

Closed
peio72 opened this issue Sep 30, 2015 · 4 comments
Closed

Input with ng-messages in column layout height issue #4937

peio72 opened this issue Sep 30, 2015 · 4 comments

Comments

@peio72
Copy link

peio72 commented Sep 30, 2015

Hello, upgrading to 0.11.1 and now got layout issues using inputs in a column layout as shown here:

columns

with the code:


<div layout layout-sm="column">

                        <md-input-container flex>
                            <label>Street Number</label>
                            <input required name="companyStreetNumber" ng-model="company.streetnumber" type="text" maxlength="10">
                            <div ng-messages="registerForm.companyStreetNumber.$error" ng-show="registerForm.companyStreetNumber.$touched">
                                <div ng-message="required">Required field.</div>
                                <div ng-message="maxlength">10 characters maximum.</div>
                            </div>
                        </md-input-container>

                        <md-input-container flex>
                            <label>Street Name</label>
                            <input required name="companyStreetName" ng-model="company.streetname" type="text" maxlength="40">
                            <div ng-messages="registerForm.companyStreetName.$error" ng-show="registerForm.companyStreetName.$touched">
                                <div ng-message="required">Required field.</div>
                                <div ng-message="maxlength">40 characters maximum.</div>
                            </div>
                        </md-input-container>

</div>

In 0.11.0 vertical alignement is ok not in 0.11.1 anymore.

Please help.
Thanx.

@germanferrero
Copy link

Same Here:
screenshot 22

@topherfangio
Copy link
Contributor

This should be fixed when #4915 gets merged.

@sunny9240
Copy link

+1

@topherfangio
Copy link
Contributor

#4915 has been merged, can you please retest against the latest master? If the issue is not resolved, please comment and I will reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants