You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
432 B
20 lines
432 B
<?php
|
|
|
|
namespace App\UI\Support\Schemas;
|
|
|
|
use App\UI\Enums\InputType;
|
|
|
|
readonly class InputSchemaField
|
|
{
|
|
public function __construct(
|
|
public string $key,
|
|
public string $label,
|
|
public InputType $type,
|
|
public array $attributes,
|
|
public array $rules,
|
|
public mixed $default,
|
|
public bool $isLive,
|
|
public string $dependsOn,
|
|
public InputSchema $schema,
|
|
) {}
|
|
}
|
|
|