allowed numbers on fiscal name
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-09-24 07:47:06 +02:00
parent 7f33f4c56e
commit a091674f08
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ module.exports = Self => {
}
function isAlpha(value) {
const regexp = new RegExp(/^[ñça-zA-Z\s]*$/);
const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/);
return regexp.test(value);
}