Skip to content

Commit c6d30cd

Browse files
author
Darpan Kumar
committed
fix issue #1210 in material.angular.io angular/material.angular.io#1210
1 parent 6e1d58f commit c6d30cd

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs-content/guides/creating-a-custom-form-field-control.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,25 @@ <h4 id="controltype" class="docs-header-link">
364364
class <code>mat-form-field-type-example-tel-input</code>.</p>
365365
<pre><code class="language-ts">controlType = <span class="hljs-string">&#x27;example-tel-input&#x27;</span>;
366366
</code></pre>
367-
367+
<h4 id="autofilled" class="docs-header-link">
368+
<span header-link="autofilled"></span>
369+
<code>autofilled</code>
370+
</h4>
371+
<p>This property allows us to specify Whether the input is currently in an autofilled state.
372+
If set true it will add <code>mat-form-field-autofilled</code> class to the <code>&lt;mat-form-field&gt;</code>,
373+
If property is not present on the control it is assumed to be false.
374+
<pre><code class="language-ts">autofilled = <span class="hljs-string">true | false</span>;
375+
</code></pre>
376+
377+
<h4 id="userAriaDescribedBy" class="docs-header-link">
378+
<span header-link="userAriaDescribedBy"></span>
379+
<code>userAriaDescribedBy</code>
380+
</h4>
381+
<p>This property allows us to specify the Value
382+
of <code>aria-describedby</code> that should be merged with the described-by ids which are set by the form-field.
383+
<pre><code class="language-ts">userAriaDescribedBy = <span class="hljs-string">&#x27;id&#x27 | &#x27space-separated list of element ids&#x27;</span>;
384+
</code></pre>
385+
368386
<h4 id="setdescribedbyidsids-string" class="docs-header-link">
369387
<span header-link="setdescribedbyidsids-string"></span>
370388
<code>setDescribedByIds(ids: string[])</code>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy