minimo 6 caratteri la registrazione username
Ridurre a 3 gli stati ContribTypes ( aggiornato il regex dell'username in fase di registrazione: caratteri speciali consentiti solo all'interno di una parola
This commit is contained in:
@@ -84,6 +84,7 @@ export const costanti = {
|
||||
binary: 8,
|
||||
html: 16,
|
||||
select: 32,
|
||||
star3: 35,
|
||||
star5: 40,
|
||||
number: 64,
|
||||
typeinrec: 128,
|
||||
|
||||
@@ -591,7 +591,7 @@ export const colmySkills = [
|
||||
AddCol({
|
||||
name: 'numLevel',
|
||||
label_trans: 'level.name',
|
||||
fieldtype: costanti.FieldType.star5,
|
||||
fieldtype: costanti.FieldType.star3,
|
||||
required: false,
|
||||
jointable: 'levels',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
@@ -604,7 +604,7 @@ export const colmySkills = [
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: 'statusSkills',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: false,
|
||||
noshowlabel: true,
|
||||
icon: 'mood',
|
||||
}),
|
||||
AddCol({
|
||||
@@ -613,7 +613,7 @@ export const colmySkills = [
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: 'contribtypes',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
noshowlabel: false,
|
||||
noshowlabel: true,
|
||||
icon: 'currency_exchange',
|
||||
//icon: 'fas fa-hands-helping',
|
||||
}),
|
||||
|
||||
@@ -4315,6 +4315,11 @@ export const tools = {
|
||||
return t('reg.err.complexity')
|
||||
}
|
||||
}
|
||||
if (item.complexityUser !== undefined) {
|
||||
if (item.complexityUser.$invalid) {
|
||||
return t('reg.err.complexityUser')
|
||||
}
|
||||
}
|
||||
// if (!item.maxLength) { return t('reg.err.notmore') + ` ${item.$params.maxLength.max} ` + t('reg.err.char') }
|
||||
|
||||
if (item.required !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user