|
|
@@ -540,7 +540,7 @@ $(document).ready(function(){
|
|
|
```javascript
|
|
|
$(document).ready(function(){
|
|
|
$("#numeric").inputmask("decimal");
|
|
|
- $("#numeric").inputmask("non-negative-decimal");
|
|
|
+ $("#numeric").inputmask("decimal", { allowMinus: false });
|
|
|
$("#numeric").inputmask("integer");
|
|
|
});
|
|
|
```
|
|
|
@@ -571,6 +571,14 @@ $(document).ready(function(){
|
|
|
});
|
|
|
```
|
|
|
|
|
|
+Allow minus and/or plus symbol
|
|
|
+```javascript
|
|
|
+$(document).ready(function(){
|
|
|
+ $("#numeric").inputmask("decimal", { allowMinus: false });
|
|
|
+ $("#numeric").inputmask("integer", { allowMinus: false, allowPlus: true });
|
|
|
+});
|
|
|
+```
|
|
|
+
|
|
|
### other aliases
|
|
|
|
|
|
An ip adress alias for entering valid ip-addresses.
|