allowed numbers on fiscal name
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
7f33f4c56e
commit
a091674f08
|
@ -168,7 +168,7 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isAlpha(value) {
|
function isAlpha(value) {
|
||||||
const regexp = new RegExp(/^[ñça-zA-Z\s]*$/);
|
const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/);
|
||||||
|
|
||||||
return regexp.test(value);
|
return regexp.test(value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue