You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ Tested on IE9+ and Chrome and Safari(10.0.3)
90
90
|**validationOption.check**|**Opt**|**Bool**|**To determin if you need to validate.**|**true**|
91
91
|**validationOption.required**|**Opt**|**Bool**|**To determin if it is a required field.**|**true**|
92
92
|**validationOption.type**|**Opt**|**Str**|**Validation type, options are ['string', 'number'~~, 'phone'~~].**|**"string"**|
93
+
|**validationOption.numberType**|**Opt**|**Str**|**Validation number type, options are ['decimal', 'int']. Handy when the validation type is number.**|**"string"**|
93
94
|**validationOption.showMsg**|**Opt**|**Bool**|**To determin display the error message or not.**|**true**|
94
95
|**validationOption.min**|**Opt**|**Num**|**Validation of min length when validationOption['type'] is string, min amount when validationOption['type'] is number.**|**0**|
95
96
|**validationOption.max**|**Opt**|**Num**|**Validation of max length when validationOption['type'] is string, max amount when validationOption['type'] is number.**|**0**|
// numberType: 'decimal', // Optional.[String].Default: "decimal". Validation number type, options are ['decimal', 'int']. Handy when the validation type is number.
146
148
// showMsg: true, //Optional.[Bool].Default: true. To determin display the error message or not.
147
149
// min: 2, //Optional.[Number].Default: 0. Validation of min length when validationOption['type'] is string, min amount when validationOption['type'] is number.
148
150
// max: 10, //Optional.[Number].Default: 0. Validation of max length when validationOption['type'] is string, max amount when validationOption['type'] is number.
0 commit comments