Skip to content

Commit

Permalink
fix issue #1210 in material.angular.io angular/material.angular.io#1210
Browse files Browse the repository at this point in the history
  • Loading branch information
darpankumar committed Nov 14, 2023
1 parent 6e1d58f commit 734cd6d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs-content/guides/creating-a-custom-form-field-control.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,25 @@ <h4 id="controltype" class="docs-header-link">
class <code>mat-form-field-type-example-tel-input</code>.</p>
<pre><code class="language-ts">controlType = <span class="hljs-string">&#x27;example-tel-input&#x27;</span>;
</code></pre>

<h4 id="autofilled" class="docs-header-link">
<span header-link="autofilled"></span>
<code>autofilled</code>
</h4>
<p>This property allows us to specify Whether the input is currently in an autofilled state.
If set true it will add <code>mat-form-field-autofilled</code> class to the <code>&lt;mat-form-field&gt;</code>,
If property is not present on the control it is assumed to be false.
<pre><code class="language-ts">autofilled = <span class="hljs-string">true | false</span>;
</code></pre>

<h4 id="userAriaDescribedBy" class="docs-header-link">
<span header-link="userAriaDescribedBy"></span>
<code>userAriaDescribedBy</code>
</h4>
<p>This property allows us to specify the Value
of <code>aria-describedby</code> that should be merged with the described-by ids which are set by the form-field.
<pre><code class="language-ts">userAriaDescribedBy = <span class="hljs-string">&#x27;id&#x27 | &#x27space-separated list of element ids&#x27;</span>;
</code></pre>

<h4 id="setdescribedbyidsids-string" class="docs-header-link">
<span header-link="setdescribedbyidsids-string"></span>
<code>setDescribedByIds(ids: string[])</code>
Expand Down

0 comments on commit 734cd6d

Please sign in to comment.