rich editor files

This commit is contained in:
2024-08-18 17:23:18 +03:00
parent ec15f21e67
commit 5d6869c118
20 changed files with 966 additions and 64 deletions
-1
View File
@@ -205,7 +205,6 @@ class RecordController extends Controller
{
$rid = $request->route("rid");
$graph = $this->query
->filter(["id" => $rid])
->limit(1)
+1
View File
@@ -57,6 +57,7 @@ class SchemaService
{
$className = "\\Lucent\Schema\Ui\\" . ucfirst($field["ui"]);
unset($field["ui"]);
return new $className(...$field);
}
+1
View File
@@ -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,