rich editor files
This commit is contained in:
@@ -205,7 +205,6 @@ class RecordController extends Controller
|
||||
{
|
||||
$rid = $request->route("rid");
|
||||
|
||||
|
||||
$graph = $this->query
|
||||
->filter(["id" => $rid])
|
||||
->limit(1)
|
||||
|
||||
@@ -57,6 +57,7 @@ class SchemaService
|
||||
{
|
||||
$className = "\\Lucent\Schema\Ui\\" . ucfirst($field["ui"]);
|
||||
unset($field["ui"]);
|
||||
|
||||
return new $className(...$field);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ class Rich implements FieldInterface, RequiredInterface
|
||||
public bool $nullable = false,
|
||||
public string $default = "",
|
||||
public string $help = "",
|
||||
public array $collections = [],
|
||||
public ?int $min = null,
|
||||
public ?int $max = null,
|
||||
public bool $readonly = false,
|
||||
|
||||
Reference in New Issue
Block a user