Files
EasySoft-ZenTaoPMS/lib/zin/wg/sqlbuilderinput/v1.php
T
2024-09-05 16:23:29 +08:00

28 lines
642 B
PHP

<?php
declare(strict_types=1);
namespace zin;
require_once dirname(__DIR__) . DS . 'sqlbuildercontrol' . DS . 'v1.php';
class sqlBuilderInput extends sqlBuilderControl
{
protected static array $defineProps = array(
"name?: string",
"label?: string",
"value?: string",
"placeholder?: string",
'labelWidth?: string="80px"',
'width?: string="60"',
"suffix?: string",
'onChange?: function',
"error?: bool=false",
"errorText?: string"
);
protected function build()
{
$this->setProp('type', 'input');
return parent::build();
}
}