Ora cambiando Settore, la Categoria viene sbiancata su "Nessuno" (anche se ancora rimane visivamente selezionato)
i campi obbligatori non funziona il controllo? (Erano i campi di tipo Array) Aggiunta Categoria Ecovillaggi / Comunità + AutoProduzione Aggiunte consulenza, affrancamento, supporto.. su temi di LAVORO Quando inserisci un nuovo annuncio, prendi di default tutti i filtri visualizzati Aggiungere bottone "Condividi Pagina" sui gruppi
This commit is contained in:
@@ -77,6 +77,7 @@ function AddCol(params: IColGridTable) {
|
||||
tablesel: (params.tablesel === undefined) ? '' : params.tablesel,
|
||||
jointable: (params.jointable === undefined) ? '' : params.jointable,
|
||||
addall: (params.addall === undefined) ? false : params.addall,
|
||||
addnone: (params.addnone === undefined) ? false : params.addnone,
|
||||
filter: (params.filter === undefined) ? null : params.filter,
|
||||
allowchar: (params.allowchar === undefined) ? null : params.allowchar,
|
||||
showWhen: (params.showWhen === undefined) ? costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView : params.showWhen,
|
||||
@@ -342,7 +343,7 @@ export const colSectors = [
|
||||
name: 'idSector',
|
||||
label_trans: 'sectors.name',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
jointable: 'sectors',
|
||||
jointable: toolsext.TABSECTORS,
|
||||
}),
|
||||
AddCol({ name: 'main', label_trans: 'store.main', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'color', label_trans: 'products.color' }),
|
||||
@@ -458,7 +459,7 @@ export const colSkills = [
|
||||
name: 'idSector',
|
||||
label_trans: 'sectors.name',
|
||||
fieldtype: costanti.FieldType.multiselect,
|
||||
jointable: 'sectors',
|
||||
jointable: toolsext.TABSECTORS,
|
||||
}),
|
||||
AddCol({ name: 'color', label_trans: 'products.color' }),
|
||||
AddCol({ name: 'theme', label_trans: 'products.theme' }),
|
||||
@@ -663,6 +664,7 @@ export const colmyGoods = [
|
||||
fieldtype: costanti.FieldType.select,
|
||||
required: false,
|
||||
jointable: 'goods',
|
||||
addnone: true,
|
||||
filter_table: 'sectorgoods',
|
||||
filter_field: 'idSectorGood',
|
||||
noshowlabel: true,
|
||||
@@ -818,7 +820,7 @@ export const colmySkills = [
|
||||
label_trans: 'sectors.name',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
required: true,
|
||||
jointable: 'sectors',
|
||||
jointable: toolsext.TABSECTORS,
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
visible: true,
|
||||
icon: 'category',
|
||||
@@ -828,9 +830,10 @@ export const colmySkills = [
|
||||
label_trans: 'skill.name',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
jointable: 'skills',
|
||||
filter_table: 'sectors',
|
||||
filter_table: toolsext.TABSECTORS,
|
||||
filter_field: 'idSector',
|
||||
noshowlabel: true,
|
||||
addnone: true,
|
||||
icon: 'engineering',
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||
allowNewValue: false,
|
||||
@@ -1001,7 +1004,7 @@ export const colmyBachecas = [
|
||||
label_trans: 'sectors.name',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
required: true,
|
||||
jointable: 'sectors',
|
||||
jointable: toolsext.TABSECTORS,
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
|
||||
visible: true,
|
||||
icon: 'category',
|
||||
@@ -1012,7 +1015,8 @@ export const colmyBachecas = [
|
||||
label_trans: 'skill.name',
|
||||
fieldtype: costanti.FieldType.select,
|
||||
jointable: 'skills',
|
||||
filter_table: 'sectors',
|
||||
addnone: true,
|
||||
filter_table: toolsext.TABSECTORS,
|
||||
filter_field: 'idSector',
|
||||
noshowlabel: true,
|
||||
icon: 'engineering',
|
||||
@@ -2580,7 +2584,7 @@ export const fieldsTable = {
|
||||
collabel: 'descr',
|
||||
},
|
||||
{
|
||||
value: 'sectors',
|
||||
value: toolsext.TABSECTORS,
|
||||
label: 'Settori',
|
||||
columns: colSectors,
|
||||
colkey: '_id',
|
||||
@@ -2595,7 +2599,7 @@ export const fieldsTable = {
|
||||
},
|
||||
{
|
||||
value: 'catgrps',
|
||||
label: 'Categorie',
|
||||
label: 'Categorie Gruppi',
|
||||
columns: colCatGrps,
|
||||
colkey: '_id',
|
||||
collabel: 'descr',
|
||||
|
||||
Reference in New Issue
Block a user