This commit is contained in:
2025-06-30 19:38:33 +03:00
parent 85bf5f41f2
commit 363b7ecf9e
6 changed files with 61 additions and 4 deletions
+4 -1
View File
@@ -9,6 +9,7 @@ use Wt\Core\Form\Field\DefaultField;
use Wt\Core\Templater\Shell;
use Wt\Core\Templater\Tools as TemplaterTools;
use Wt\Core\Tools;
use Wt\Core\Form\Interfaces;
$bLabel = mb_strlen($field->getLabel());
$labelAttrs = [];
@@ -62,7 +63,9 @@ if($isDatepicker) {
?>"
value="<?=TemplaterTools::safeHtmlAttr($field->getValue())?>"
maxlength="255"
placeholder="<?=TemplaterTools::safeHtmlAttr($field->getPlaceholder()).''?>"
<?php if($field instanceof Interfaces\IPlaceholder){?>
placeholder="<?=TemplaterTools::safeHtmlAttr($field->getPlaceholder())?>"
<?php }?>
<?php
echo TemplaterTools::getAttrByArray($arParams['ATTR']);
if($isDatepicker) {