this bug was solved 6432, added a way to validate if a mask does not have ,
This commit is contained in:
3
gulliver/js/form/core/form.js
Normal file → Executable file
3
gulliver/js/form/core/form.js
Normal file → Executable file
@@ -468,6 +468,9 @@ function isNumberMask (mask){
|
|||||||
|
|
||||||
maskD = me.mask.split(';');
|
maskD = me.mask.split(';');
|
||||||
maskL = (maskD.length >1)?maskD[1]:maskD[0];
|
maskL = (maskD.length >1)?maskD[1]:maskD[0];
|
||||||
|
if (maskL.search(",")==-1){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
maskWithoutC =replaceAll(maskL,",","");
|
maskWithoutC =replaceAll(maskL,",","");
|
||||||
//maskWithoutC =replaceAll(maskWithoutC,".","");
|
//maskWithoutC =replaceAll(maskWithoutC,".","");
|
||||||
//maskWithoutC =replaceAll(maskWithoutC,"#","");
|
//maskWithoutC =replaceAll(maskWithoutC,"#","");
|
||||||
|
|||||||
Reference in New Issue
Block a user