diff --git a/src/Schema/Ui/Block.php b/src/Schema/Ui/Block.php index 41d95a1..1e0a86c 100644 --- a/src/Schema/Ui/Block.php +++ b/src/Schema/Ui/Block.php @@ -18,6 +18,7 @@ class Block implements FieldInterface, RequiredInterface public bool $nullable = false, public bool $required = false, public string $default = "", + public string $help = "", public bool $readonly = false, public string $schema = "", public string $group = "", diff --git a/src/Schema/Ui/Checkbox.php b/src/Schema/Ui/Checkbox.php index d81d6b1..6554556 100644 --- a/src/Schema/Ui/Checkbox.php +++ b/src/Schema/Ui/Checkbox.php @@ -20,6 +20,7 @@ class Checkbox implements FieldInterface, RequiredInterface public bool $required = false, public bool $nullable = false, public string $default = "", + public string $help = "", public bool $readonly = false, public string $group = "", ) diff --git a/src/Schema/Ui/Color.php b/src/Schema/Ui/Color.php index 109ac65..7d9eb43 100644 --- a/src/Schema/Ui/Color.php +++ b/src/Schema/Ui/Color.php @@ -19,6 +19,7 @@ class Color implements FieldInterface, RequiredInterface public bool $required = false, public bool $nullable = false, public string $default = "", + public string $help = "", public bool $readonly = false, public string $optionsFrom = "", public string $optionsField = "", diff --git a/src/Schema/Ui/Date.php b/src/Schema/Ui/Date.php index 0860230..89c43e3 100644 --- a/src/Schema/Ui/Date.php +++ b/src/Schema/Ui/Date.php @@ -22,6 +22,7 @@ class Date implements FieldInterface, RequiredInterface, MinMaxInterface public ?Carbon $min = null, public ?Carbon $max = null, public string $default = "", + public string $help = "", public bool $readonly = false, public string $optionsFrom = "", public string $optionsField = "", diff --git a/src/Schema/Ui/Datetime.php b/src/Schema/Ui/Datetime.php index 5461819..92ded49 100644 --- a/src/Schema/Ui/Datetime.php +++ b/src/Schema/Ui/Datetime.php @@ -22,6 +22,7 @@ class Datetime implements FieldInterface, RequiredInterface, MinMaxInterface public ?Carbon $min = null, public ?Carbon $max = null, public string $default = "", + public string $help = "", public bool $readonly = false, public string $optionsFrom = "", public string $optionsField = "", diff --git a/src/Schema/Ui/File.php b/src/Schema/Ui/File.php index 2e47d33..68514a0 100644 --- a/src/Schema/Ui/File.php +++ b/src/Schema/Ui/File.php @@ -19,6 +19,7 @@ class File implements FieldInterface, MinMaxInterface public string $name, public string $label, public string $mime = "", + public string $help = "", public ?int $min = null, public ?int $max = null, public array $collections = [], diff --git a/src/Schema/Ui/Json.php b/src/Schema/Ui/Json.php index 1d1209a..04d1db0 100644 --- a/src/Schema/Ui/Json.php +++ b/src/Schema/Ui/Json.php @@ -18,6 +18,7 @@ class Json implements FieldInterface, RequiredInterface public string $label, public bool $required = false, public string $default = "", + public string $help = "", public bool $readonly = false, public bool $nullable = false, public string $group = "", diff --git a/src/Schema/Ui/Number.php b/src/Schema/Ui/Number.php index bf4a162..90cfbd7 100644 --- a/src/Schema/Ui/Number.php +++ b/src/Schema/Ui/Number.php @@ -23,6 +23,7 @@ class Number implements FieldInterface, RequiredInterface, MinMaxInterface public ?int $max = null, public ?float $default = null, public bool $readonly = false, + public string $help = "", public string $optionsFrom = "", public string $optionsField = "", public bool $optionsSuggest = false, diff --git a/src/Schema/Ui/Reference.php b/src/Schema/Ui/Reference.php index 3547825..a1098e8 100644 --- a/src/Schema/Ui/Reference.php +++ b/src/Schema/Ui/Reference.php @@ -18,6 +18,7 @@ class Reference implements FieldInterface, MinMaxInterface public string $name, public string $label, public string $mime = "", + public string $help = "", public ?int $min = null, public ?int $max = null, public array $collections = [], diff --git a/src/Schema/Ui/Rich.php b/src/Schema/Ui/Rich.php index 86a9e03..82a6c6d 100644 --- a/src/Schema/Ui/Rich.php +++ b/src/Schema/Ui/Rich.php @@ -18,6 +18,7 @@ class Rich implements FieldInterface, RequiredInterface public bool $required = false, public bool $nullable = false, public string $default = "", + public string $help = "", public ?int $min = null, public ?int $max = null, public bool $readonly = false, diff --git a/src/Schema/Ui/Slug.php b/src/Schema/Ui/Slug.php index 1466eb1..9d52134 100644 --- a/src/Schema/Ui/Slug.php +++ b/src/Schema/Ui/Slug.php @@ -21,6 +21,7 @@ class Slug implements FieldInterface, RequiredInterface public ?int $min = null, public ?int $max = null, public string $default = "", + public string $help = "", public bool $readonly = false, public string $source = "", public string $group = "", diff --git a/src/Schema/Ui/Text.php b/src/Schema/Ui/Text.php index 49f8634..414a94f 100644 --- a/src/Schema/Ui/Text.php +++ b/src/Schema/Ui/Text.php @@ -19,6 +19,7 @@ class Text implements FieldInterface, RequiredInterface public bool $nullable = false, public ?int $min = null, public ?int $max = null, + public string $help = "", public string $default = "", public bool $readonly = false, public string $optionsFrom = "", diff --git a/src/Schema/Ui/Textarea.php b/src/Schema/Ui/Textarea.php index 2dbc30d..f012f62 100644 --- a/src/Schema/Ui/Textarea.php +++ b/src/Schema/Ui/Textarea.php @@ -21,6 +21,7 @@ class Textarea implements FieldInterface, RequiredInterface public ?int $min = null, public ?int $max = null, public string $default = "", + public string $help = "", public bool $readonly = false, public string $group = "", ) diff --git a/src/Schema/Ui/Uuid.php b/src/Schema/Ui/Uuid.php index d45762f..3d422ff 100644 --- a/src/Schema/Ui/Uuid.php +++ b/src/Schema/Ui/Uuid.php @@ -16,6 +16,7 @@ class Uuid implements FieldInterface, RequiredInterface public function __construct( public string $name, public string $label, + public string $help = "", public bool $required = false, public bool $nullable = false, public bool $readonly = false,