Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 4825-intrastat

This commit is contained in:
Vicent Llopis 2022-12-14 10:29:27 +01:00
commit c84347dc2f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports = Self => {
message: 'Invalid email',
allowNull: true,
allowBlank: true,
with: /^[\w|.|-]+@[\w|-]+(\.[\w|-]+)*(,[\w|.|-]+@[\w|-]+(\.[\w|-]+)*)*$/
with: /^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{1,61}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{1,61})[\W]*$/
});
Self.validatesLengthOf('postcode', {