question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'align' attribute in md-hint does not working

See original GitHub issue
<md-input #desc type="text" [(ngModel)]="newPack.description"
                      name="description" maxlength="50"
                      placeholder="description">
                <md-hint align="end">{{desc.characterCount}} / 50</md-hint>
</md-input>

align is always at start

angular rc.6, material2 alpha 8-1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
RoxKillycommented, Sep 4, 2016

I have the same problem as the OP with Angular 2 rc 6 and Material 2 alpha 8.1

http://plnkr.co/edit/1BiwnWPB4pKkNsNlSkfE?p=preview

@DzmitryShylovich it’s difficult to tell which version of Angular or Material your plunker uses. It loads this minified script which may be for older versions

3reactions
DzmitryShylovichcommented, Sep 3, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

'align' attribute in md-hint does not working #1172 - GitHub
I am experiencing the same issue, <md-hint> is aligned to left and exceeds the input border.
Read more >
Center tag works fine, but align attribute doesn't! What may be ...
To centre everything within the body, use text-align: style="text-align: center;". To centre an element within its container, ...
Read more >
Alignment, font styles, and horizontal rules in HTML documents
It is possible to align block elements (tables, images, objects, paragraphs, etc.) on the canvas with the align attribute. Although this attribute may...
Read more >
HTML align Attribute - GeeksforGeeks
The align Attribute in HTML is used to specify the alignment of text content of The Element. this attribute is used in all...
Read more >
align attribute - BFO
How to align an element with respect to it's parent. If the text-align attribute is not specified, this also controls how the text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found