This commit is contained in:
2021-10-08 16:22:44 +03:00
parent d6ddca4532
commit cf1405bef6
8 changed files with 62 additions and 47 deletions
+6 -6
View File
@@ -3,8 +3,8 @@
* @var array $arParams
*/
use Wt\Core\Type\Str as Str;
use Wt\Core\Tools as Tools;
use Wt\Core\Templater\Tools as TemplaterTools;
use Wt\Core\Tools;
//include ".con/fields.php";
@@ -49,13 +49,13 @@ if($isHint) {
}
}
?>"
value="<?=Str::safeHtmlAttr($arParams['VALUE'])?>"
value="<?=TemplaterTools::safeHtmlAttr($arParams['VALUE'])?>"
maxlength="255"
placeholder="<?=Str::safeHtmlAttr($arParams['PLACEHOLDER']).''?>"
placeholder="<?=TemplaterTools::safeHtmlAttr($arParams['PLACEHOLDER']).''?>"
<?
echo \Bx\Kit\Node\Lib::getAttrByArray($arParams['ATTR']);
echo TemplaterTools::getAttrByArray($arParams['ATTR']);
if($isDatepicker) {
echo \Bx\Kit\Node\Lib::getAttrByArray([
echo TemplaterTools::getAttrByArray([
'data-position' => 'bottom left'
]);
}