http://www.basef.com.br/index.php?title=Disabled_input_in_Angular2&feed=atom&action=historyDisabled input in Angular2 - Histórico de revisão2024-03-29T09:36:43ZHistórico de revisões para esta página neste wikiMediaWiki 1.26alphahttp://www.basef.com.br/index.php?title=Disabled_input_in_Angular2&diff=2290&oldid=prevAdmin em 12h38min de 27 de janeiro de 20202020-01-27T12:38:17Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='pt-BR'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Edição das 12h38min de 27 de janeiro de 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="L9" >Linha 9:</td>
<td colspan="2" class="diff-lineno">Linha 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note: the example only shows how to use [disabled]. To have a working example, you have to create a Model Driven Form and configure it with validators.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Note: the example only shows how to use [disabled]. To have a working example, you have to create a Model Driven Form and configure it with validators.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<del class="diffchange diffchange-inline">AngularJS2</del>]]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<ins class="diffchange diffchange-inline">Angular</ins>]]</div></td></tr>
</table>Adminhttp://www.basef.com.br/index.php?title=Disabled_input_in_Angular2&diff=576&oldid=prevAdmin: Criou página com 'Suppose you have a form using Model Driven Form "myForm" and want to validate if the form is valid. The way to do this is use "[disabled]": <source lang="xml"> <form [formGro...'2016-10-26T16:11:25Z<p>Criou página com 'Suppose you have a form using Model Driven Form "myForm" and want to validate if the form is valid. The way to do this is use "[disabled]": <source lang="xml"> <form [formGro...'</p>
<p><b>Página nova</b></p><div>Suppose you have a form using Model Driven Form "myForm" and want to validate if the form is valid. The way to do this is use "[disabled]":<br />
<br />
<source lang="xml"><br />
<form [formGroup]="myForm"><br />
<button type="submit" [disabled]="!myForm.valid">Submit</button><br />
</form><br />
</source><br />
<br />
Note: the example only shows how to use [disabled]. To have a working example, you have to create a Model Driven Form and configure it with validators.<br />
<br />
[[Category:AngularJS2]]</div>Admin