Skip to content

Commit 7ae3485

Browse files
committed
A little update to the documentation
Of course it can be easily found from the source code, but it would be very convenient to see it in the documentation
1 parent f197281 commit 7ae3485

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jQuery(function($){
4444
});
4545
```
4646

47+
Optionally, if you would like to disable the automatic discarding of the uncomplete input, you may pass an optional argument to the maskedinput method
48+
```html
49+
jQuery(function($){
50+
$("#product").mask("99/99/9999",{autoclear: false});
51+
});
52+
```
53+
4754
You can now supply your own mask definitions.
4855
```html
4956
jQuery(function($){

0 commit comments

Comments
 (0)