Skip to content

Commit 594a3fc

Browse files
committed
Add leading static char example
1 parent 12b3323 commit 594a3fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

demo/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
ccv: '',
6969
plate: '',
7070
escaped: '',
71+
leading: '',
7172
custom: '',
7273
changing: '',
7374
pattern: '1111 1111'
@@ -110,6 +111,11 @@ <h1><code>&lt;<a href="https://github.com/insin/react-maskedinput">MaskedInput</
110111
<label htmlFor="escaped">Escaped:</label>
111112
<MaskedInput pattern="11 \* 11" name="escaped" id="escaped" onChange={this._onChange}/>
112113
</div>
114+
<p>Leading static characters:</p>
115+
<div className="form-field">
116+
<label htmlFor="leading">Leading:</label>
117+
<MaskedInput pattern="(0) 111 1111" name="leading" id="leading" onChange={this._onChange}/>
118+
</div>
113119
<p>Changing patterns:</p>
114120
<div className="form-field">
115121
<label htmlFor="changing">Input:</label>

0 commit comments

Comments
 (0)