企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[info]### 支持组件 **生成Token** > Form::token() > **Label标签** > Form::label(string $name, string $value = null, array $options = []) **按类型生成文本框** > Form::input($type, $name, string $value = null, array $options = []) **普通文本框 ** >Form::text(string $name, string $value = null, array $options = []) **密码文本框** Form::password(string $name, array $options = []) **隐藏文本框** > Form::hidden(string $name, string $value = null, array $options = []) **Email文本框 ** > Form::email(string $name, string $value = null, array $options = []) **URL文本框** Form::url(string $name, string $value = null, array $options = []) **文件组件** > Form::file(string $name, array $options = []) **多行文本框** > Form::textarea(string $name, string $value = null, array $options = []) **富文本编辑器** > Form::editor(string $name, string $value = null, array $options = []) **下拉列表组件** > Form::select(string $name, array $list = [], string $selected = null, array $options = []) **下拉列表组件(多选)** > Form::selects(string $name, array $list = [], string $selected = null, array $options = []) **下拉列表组件(友好)** > Form::selectpicker(string $name, array $list = [], string $selected = null, array $options = []) **下拉列表组件(友好)(多选)** > Form::selectpickers(string $name, array $list = [], string $selected = null, array $options = []) 动态下拉列表组件 > Form::selectpage(string $name, string $value, string $url, string $field = null, string $primaryKey = null, array $options = []) 动态下拉列表组件(多选) > Form::selectpages(string $name, string $value, string $url, string $field = null, string $primaryKey = null, array $options = []) 城市选择组件 > Form::citypicker(string $name, string $value, array $options = []) 开关组件 > Form::switcher(string $name, string $value, array $options = []) 日期选择组件 > Form::datepicker(string $name, string $value, array $options = []) 时间选择组件 > Form::timepicker(string $name, string $value, array $options = []) 日期时间选择组件 > Form::datetimepicker(string $name, string $value, array $options = []) 日期区间组件 > Form::daterange(string $name, string $value, array $options = []) 时间区间组件 > Form::timerange(string $name, string $value, array $options = []) 日期时间区间组件 > Form::datetimerange(string $name, string $value, array $options = []) 字段列表组件 > Form::fieldlist(string $name, string $value, string $title = null, string $template = null, array $options = []) 联动组件 > Form::cxselect(string $url, array $names = [], array $values = [], array $options = []) 选择数字区间 > Form::selectRange(string $name, string $begin, string $end, string $selected = null, array $options = []) 选择年 > Form::selectYear(string $name, string $begin, string $end, string $selected = null, array $options = []) 选择月 > Form::selectMonth(string $name, string $selected = null, array $options = [], string $format = '%m') 单个复选框 > Form::checkbox(string $name, string $value = '1', string $checked = null, array $options = []) 一组复选框 > Form::checkboxs(string $name, array $list = [], string $checked = null, array $options = []) 单个单选框 > Form::radio(string $name, string $value = null, string $checked = null, array $options = []) 一组单选框 > Form::radios(string $name, array $list = [], string $checked = null, array $options = []) 上传图片组件 > Form::image(string $name = null, string $value, array $inputAttr = [], array $uploadAttr = [], array $chooseAttr = [], array $previewAttr = []) 上传图片组件(多图) > Form::images(string $name = null, string $value, array $inputAttr = [], array $uploadAttr = [], array $chooseAttr = [], array $previewAttr = []) 上传文件组件 > Form::upload(string $name = null, string $value, array $inputAttr = [], array $uploadAttr = [], array $chooseAttr = [], array $previewAttr = []) 上传文件组件(多文件) > Form::uploads(string $name = null, string $value, array $inputAttr = [], array $uploadAttr = [], array $chooseAttr = [], array $previewAttr = []) 表单button > Form::button(string $value = null, array $options = [])