ソースを参照

added novaluepatching option #1276

Robin Herbots 8 年 前
コミット
aadc55ca87
3 ファイル変更9 行追加1 行削除
  1. 4 0
      CHANGELOG.md
  2. 4 0
      README.md
  3. 1 1
      js/inputmask.js

+ 4 - 0
CHANGELOG.md

@@ -2,10 +2,14 @@
 All notable changes to this project will be documented in this file.
 
 ## [UNRELEASED]
+### added
+- noValuePatching option #1276
+
 ### Updates
 - alternator syntax update - regex like alternations is now supported (aa|99|AA) ~ aa or 99 or AA
 
 ### Fixed
+- integer backspace bug when set maxLength attr. #1546
 - Regex with placeholder, not working? #798
 - Visualize regular expressions #1040
 - Mobile phone code update needed for Malaysia #1571

+ 4 - 0
README.md

@@ -1017,6 +1017,10 @@ Inputmask("(99 99 999999)|(i{+})", {
 Return nothing when the user hasn't entered anything.
 Default: true
 
+### noValuePatching
+Disable value property patching  
+Default: false
+
 ### positionCaretOnClick
 Positioning of the caret on click.  Options none, lvp (based on the last valid position (default), radixFocus (position caret to radixpoint on initial click)
 Default: "lvp"

+ 1 - 1
js/inputmask.js

@@ -113,7 +113,7 @@
 			jitMasking: false, //just in time masking ~ only mask while typing, can n (number), true or false
 			nullable: true, //return nothing instead of the buffertemplate when the user hasn't entered anything.
 			inputEventOnly: false, //dev option - testing inputfallback behavior
-			noValuePatching: false, //dev option - disable value property patching
+			noValuePatching: false, //disable value property patching
 			positionCaretOnClick: "lvp", //none, lvp (based on the last valid position (default), radixFocus (position caret to radixpoint on initial click)
 			casing: null, //mask-level casing. Options: null, "upper", "lower" or "title"
 			inputmode: "verbatim", //specify the inputmode  - already in place for when browsers will support it