Skip to content

Commit

Permalink
últimas modificaciones
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisalarcon1992 committed Mar 16, 2024
1 parent f2e58c6 commit 1a0e717
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 87 deletions.
23 changes: 0 additions & 23 deletions src/app/auth/pages/register-page/register-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,26 +77,3 @@ <h2>Validaciones Reactivas</h2>
</form>
</div>
</div>


<h2>Form Valid: {{ myForm.valid | json }}</h2>
<h2>Form Status: {{ myForm.status | json }} </h2>
<h2>Form Pending: {{ myForm.pending | json }} </h2>
<h2>Form errors:</h2>
<pre>{{ myForm.errors | json }}</pre>

<h5>Nombre</h5>
<pre>{{ myForm.value.name | json }}</pre>

<h5>Email</h5>
<pre>{{ myForm.value.email | json }}</pre>

<h5>Username</h5>
<pre>{{ myForm.controls['userName'].errors| json }}</pre>


<h5>Password</h5>
<pre>{{ myForm.value.password | json }}</pre>

<h5>Confirmar</h5>
<pre>{{ myForm.controls['password2'].errors| json }}</pre>
32 changes: 0 additions & 32 deletions src/app/reactive/pages/basic-page/basic-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,35 +58,3 @@ <h2>Reactivos: Básicos</h2>

</div>
</div>




<div class="row">
<div class="col">

<span>Valid</span>
<pre>{{ myForm.valid | json }}</pre>

<span>Pristine</span>
<pre>{{ myForm.pristine| json }}</pre>

<span>Touched</span>
<pre>{{ myForm.touched| json }}</pre>

<span>Value</span>
<pre>{{ myForm.value| json }}</pre>

<span>Precio</span>
<pre>{{ myForm.controls['price'].value | json }}</pre>

<span>Precio - Errors</span>
<pre>{{ myForm.controls['price'].errors | json }}</pre>

<span>Producto</span>
<pre>{{ myForm.controls['name'].value | json }}</pre>

<span>Producto</span>
<pre>{{ myForm.controls['name'].errors | json }}</pre>
</div>
</div>
14 changes: 0 additions & 14 deletions src/app/reactive/pages/dynamic-page/dynamic-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,3 @@ <h2>Reactivos: <small> Dinámicos </small></h2>


</form>



<span>Valid</span>
<pre>{{ 'object' | json }}</pre>
<br>

<span>Value</span>
<pre>{{ 'object' | json }}</pre>
<br>

<span>Agregar Juego</span>
<pre>{{ 'object' | json }}</pre>
<pre>{{ 'object' | json }}</pre>
18 changes: 0 additions & 18 deletions src/app/reactive/pages/switches-page/switches-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,3 @@ <h2>Reactivos: Switches</h2>
</div>

</form>


<h5>Valor del formulario</h5>
<pre>{{ myForm.value | json }}</pre>
<br>

<h5>Persona</h5>
<pre>{{ myForm.value| json }}</pre>
<br>

<h5>Valid</h5>
<pre>{{ myForm.valid | json }}</pre>

<h5>Términos</h5>
<!-- <pre>{{ myForm.controls?.terminos?.errors | json }}</pre> -->

<br>
<pre>Condiciones: </pre>

0 comments on commit 1a0e717

Please sign in to comment.