- added registartion page;
- implemented validation helper-functions; - fixed form fields datepicker and datepicker range; - updated routes logic; - fixed FAQ items editing/submission;
This commit is contained in:
@@ -570,8 +570,6 @@ export const elementItems = [
|
||||
],
|
||||
validators: {
|
||||
isRequired: true,
|
||||
minLength: 11,
|
||||
maxLength: 11,
|
||||
custom: 'isPIVA'
|
||||
}
|
||||
},
|
||||
@@ -593,8 +591,6 @@ export const elementItems = [
|
||||
],
|
||||
validators: {
|
||||
isRequired: true,
|
||||
minLength: 11,
|
||||
maxLength: 16,
|
||||
custom: 'isCodiceFiscale'
|
||||
}
|
||||
},
|
||||
@@ -649,11 +645,11 @@ export const elementItems = [
|
||||
settings: [
|
||||
{
|
||||
name: "label",
|
||||
value: "nome@esempio.it"
|
||||
value: "Campo Email"
|
||||
},
|
||||
{
|
||||
name: "placeholder",
|
||||
value: ""
|
||||
value: "nome@esempio.it"
|
||||
}
|
||||
],
|
||||
validators: {
|
||||
@@ -670,11 +666,11 @@ export const elementItems = [
|
||||
settings: [
|
||||
{
|
||||
name: "label",
|
||||
value: "nome@pec.it"
|
||||
value: "Campo PEC"
|
||||
},
|
||||
{
|
||||
name: "placeholder",
|
||||
value: ""
|
||||
value: "nome@pec.it"
|
||||
}
|
||||
],
|
||||
validators: {
|
||||
@@ -702,54 +698,26 @@ export const elementItems = [
|
||||
isRequired: false,
|
||||
custom: 'isUrl'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 18,
|
||||
sortOrder: 18,
|
||||
name: 'textinput',
|
||||
label: 'Marca da bollo',
|
||||
description: 'Per inserire codice di marca da bollo',
|
||||
settings: [
|
||||
{
|
||||
name: "label",
|
||||
value: "Marca da bollo"
|
||||
},
|
||||
{
|
||||
name: "placeholder",
|
||||
value: "Numero identificativo"
|
||||
}
|
||||
],
|
||||
validators: {
|
||||
isRequired: false,
|
||||
custom: 'isMarcaDaBollo'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
/*
|
||||
const flowData = {
|
||||
"initialForm":9,
|
||||
"finalForm":13,
|
||||
"flowData":[
|
||||
{
|
||||
"formId":"9",
|
||||
"chosenField":"a0acf568c8",
|
||||
"chosenValue":""
|
||||
},
|
||||
{
|
||||
"formId":"12",
|
||||
"chosenField":"",
|
||||
"chosenValue":"o8bf116e28"
|
||||
},
|
||||
{
|
||||
"formId":"11",
|
||||
"chosenField":"",
|
||||
"chosenValue":"o1eb76229d"
|
||||
}
|
||||
],
|
||||
"flowEdges":[
|
||||
{
|
||||
"id":"9->12",
|
||||
"source":"9",
|
||||
"target":"12",
|
||||
"type":"smoothstep"
|
||||
},
|
||||
{
|
||||
"id":"12->13",
|
||||
"source":"12",
|
||||
"target":"13",
|
||||
"type":"smoothstep"
|
||||
},
|
||||
{
|
||||
"id":"9->11",
|
||||
"source":"9",
|
||||
"target":"11",
|
||||
"type":"smoothstep"
|
||||
},
|
||||
{
|
||||
"id":"11->13",
|
||||
"source":"11",
|
||||
"target":"13",
|
||||
"type":"smoothstep"
|
||||
}
|
||||
]
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user