1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00

fix: #1536 aggiunto blocco su numero caratteri descrizione articolo

This commit is contained in:
valentina 2024-11-27 16:59:58 +01:00
parent ff7d04193a
commit 6f7e7ac21b
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ $aliquota_predefinita = floatval(Aliquota::find($iva_predefinita)->percentuale);
<div class="row">
<div class="col-md-12">
{[ "type": "textarea", "label": "<?php echo tr('Descrizione'); ?>", "name": "descrizione", "required": 1, "value": "<?php echo htmlentities(filter('descrizione')) ?: ''; ?>" ]}
{[ "type": "textarea", "label": "<?php echo tr('Descrizione'); ?>", "name": "descrizione", "required": 1, "value": "<?php echo htmlentities(filter('descrizione')) ?: ''; ?>", "maxlength": "255", "charcounter": 1 ]}
</div>
<div class="col-md-6">

View File

@ -89,6 +89,7 @@ use Modules\Iva\Aliquota;
'name' => 'descrizione',
'required' => 1,
'value' => $articolo->getTranslation('title'),
'maxlength' => 255,
'charcounter' => 1,
]);
?>