update:更新table&form组件
This commit is contained in:
18
extend/catcher/library/form/components/Editor.php
Normal file
18
extend/catcher/library/form/components/Editor.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace catcher\library\form\components;
|
||||
|
||||
use FormBuilder\Driver\FormComponent;
|
||||
use FormBuilder\Factory\Elm;
|
||||
|
||||
class Editor extends FormComponent
|
||||
{
|
||||
protected $defaultProps = [
|
||||
'type' => 'editor'
|
||||
];
|
||||
|
||||
public function createValidate()
|
||||
{
|
||||
// TODO: Implement createValidate() method.
|
||||
return Elm::validateStr();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user