composer update
This commit is contained in:
parent
0b3c362c5e
commit
a1f0701630
142 changed files with 4530 additions and 1195 deletions
|
|
@ -18,6 +18,9 @@ use Kirby\Toolkit\V;
|
|||
*/
|
||||
trait Validation
|
||||
{
|
||||
/**
|
||||
* If `true`, the field has to be filled in correctly to be saved.
|
||||
*/
|
||||
protected bool $required;
|
||||
|
||||
/**
|
||||
|
|
@ -94,9 +97,6 @@ trait Validation
|
|||
return $this->errors() === [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for the required property
|
||||
*/
|
||||
public function required(): bool
|
||||
{
|
||||
return $this->required;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue