diff --git a/modules/anagrafiche/edit.php b/modules/anagrafiche/edit.php
index 18465b1ec..41c3a70a6 100755
--- a/modules/anagrafiche/edit.php
+++ b/modules/anagrafiche/edit.php
@@ -612,7 +612,7 @@ if ($is_cliente or $is_fornitore or $is_tecnico) {
- {[ "type": "text", "label": "'.tr('Colore').'", "name": "colore", "id": "colore_t", "class": "colorpicker text-center", "value": "$colore$", "maxlength": "30", "icon-after": "
" ]}
+ {[ "type": "text", "label": "'.tr('Colore').'", "name": "colore", "id": "colore_t", "class": "colorpicker text-center", "value": "$colore$", "maxlength": "7", "icon-after": "
" ]}
';
diff --git a/modules/categorie_articoli/add.php b/modules/categorie_articoli/add.php
index 6267296ba..b922d281c 100755
--- a/modules/categorie_articoli/add.php
+++ b/modules/categorie_articoli/add.php
@@ -44,7 +44,7 @@ if (isset($id_original)) {
- {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength=\"30\"", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength=\"7\"", "icon-after": "
" ]}
diff --git a/modules/categorie_articoli/edit.php b/modules/categorie_articoli/edit.php
index 37195a341..e4951f0ec 100755
--- a/modules/categorie_articoli/edit.php
+++ b/modules/categorie_articoli/edit.php
@@ -36,7 +36,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/categorie_impianti/add.php b/modules/categorie_impianti/add.php
index 09b68df5f..5704f7d66 100755
--- a/modules/categorie_impianti/add.php
+++ b/modules/categorie_impianti/add.php
@@ -35,7 +35,7 @@ if (isset($id_record)) {
- {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength=\"30\"", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength=\"7\"", "icon-after": "
" ]}
diff --git a/modules/categorie_impianti/edit.php b/modules/categorie_impianti/edit.php
index 18860bd0c..43f47bad7 100755
--- a/modules/categorie_impianti/edit.php
+++ b/modules/categorie_impianti/edit.php
@@ -36,7 +36,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/provenienze/add.php b/modules/provenienze/add.php
index 00d74731f..d43788229 100644
--- a/modules/provenienze/add.php
+++ b/modules/provenienze/add.php
@@ -29,7 +29,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/provenienze/edit.php b/modules/provenienze/edit.php
index 3100c9904..758fe450f 100644
--- a/modules/provenienze/edit.php
+++ b/modules/provenienze/edit.php
@@ -36,7 +36,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/relazioni_anagrafiche/add.php b/modules/relazioni_anagrafiche/add.php
index 02b3046f2..5718eb519 100755
--- a/modules/relazioni_anagrafiche/add.php
+++ b/modules/relazioni_anagrafiche/add.php
@@ -33,7 +33,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/relazioni_anagrafiche/edit.php b/modules/relazioni_anagrafiche/edit.php
index 3706e4e84..d1495c00a 100755
--- a/modules/relazioni_anagrafiche/edit.php
+++ b/modules/relazioni_anagrafiche/edit.php
@@ -40,7 +40,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/stati_intervento/add.php b/modules/stati_intervento/add.php
index 56bb6d288..cd2cd0207 100755
--- a/modules/stati_intervento/add.php
+++ b/modules/stati_intervento/add.php
@@ -33,7 +33,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "required": 1, "class": "colorpicker text-center", "value": "#ffffff", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "id": "colore_", "required": 1, "class": "colorpicker text-center", "value": "#ffffff", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/stati_intervento/edit.php b/modules/stati_intervento/edit.php
index c9bf92b59..83fbf40ff 100755
--- a/modules/stati_intervento/edit.php
+++ b/modules/stati_intervento/edit.php
@@ -43,7 +43,7 @@ if ($record['can_delete']) {
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/stati_preventivo/add.php b/modules/stati_preventivo/add.php
index 0adae8e3e..711e6ca12 100755
--- a/modules/stati_preventivo/add.php
+++ b/modules/stati_preventivo/add.php
@@ -29,7 +29,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
diff --git a/modules/stati_preventivo/edit.php b/modules/stati_preventivo/edit.php
index f778ede89..e8dc601d3 100755
--- a/modules/stati_preventivo/edit.php
+++ b/modules/stati_preventivo/edit.php
@@ -42,7 +42,7 @@ if ($record['can_delete']) {
- {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='30'", "icon-after": "
" ]}
+ {[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}