Angular material input labels always floating for any input type
<p>I need to display a fixed (no animation) floating label on every md-input-container containing either md-input, md-select, md-datepicker or md-autocomplete. I actually managed to have it work on md-input by adding class="md-input-has-placeholder" on md-input-container, but it's not working on any other kinds of input.</p>

<pre><code>&lt;md-input-container class="md-input-has-placeholder"&gt;
    &lt;label style="font-size:15px;"&gt;Name&lt;/label&gt;
    &lt;input type="text" name="name" ng-model="user.name"&gt;
&lt;/md-input-container&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/uXyZR.jpg" rel="nofollow noreferrer">result expected example</a></p>