Skip to content

Commit f157b0a

Browse files
author
Çağatay Çivici
committed
Fixed demo source
1 parent 00ebd1f commit f157b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

showcase/demo/password/passworddemo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ <h3>Getting Started</h3>
2525

2626
<pre>
2727
<code class="language-markup" pCode>
28-
&lt;input type="text" pPassword /&gt;
28+
&lt;input type="password" pPassword /&gt;
2929
</code>
3030
</pre>
3131

3232
<h3>Model Binding</h3>
3333
<p>A model can be bound using standard ngModel directive.</p>
3434
<pre>
3535
<code class="language-markup" pCode>
36-
&lt;input type="text" pPassword [(ngModel)]="property"/&gt;
36+
&lt;input type="password" pPassword [(ngModel)]="property"/&gt;
3737
</code>
3838
</pre>
3939

0 commit comments

Comments
 (0)