__construct() __construct(String $field, String $title, String $value = null) FormComponentDriver constructor. Parameters String $field 字段名 String $title 字段昵称 String $value 字段值
required() required(null $message = null, string $trigger = 'change') : $this Parameters null $message string $trigger Returns $this
__call() __call( $name, $arguments) : $this 设置组件属性 Parameters $name $arguments Throws \Exception Returns $this
format() format(array $format) : $this 支持的文件类型,与 accept 不同的是, format 是识别文件的后缀名,accept 为 input 标签原生的 accept 属性, 会在选择文件时过滤,可以两者结合使用 Parameters array $format Returns $this
setRequired() setRequired(null $message = '', $trigger = 'change', $type = null) : $this 设置组件的值为必填 Parameters null $message $trigger $type Returns $this