M
M
Maxim Tarabrin2017-06-05 09:29:20
Angular
Maxim Tarabrin, 2017-06-05 09:29:20

Using mdHint and mdError directives?

What is the correct way to use the MdHint and MdErrorDirective directives?
MdErrorDirective
Single error message to be shown underneath the input.
Selector: md-error
MdHint
Hint text to be shown underneath the input.
Selector: md-hint
write an example using these directives.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Manakov, 2017-06-05
@padr1no

Mb right?

<md-input-container class="example-full-width">
    <input mdInput placeholder="Company (disabled)" disabled value="Google">
    <md-hint>Hint!</md-hint>
</md-input-container>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question