Add faker for TextField
This commit is contained in:
parent
87ee15936d
commit
d7e7fb3c27
|
@ -25,6 +25,8 @@ class TextField extends Field
|
||||||
|
|
||||||
public static function fake(Generator $faker): array
|
public static function fake(Generator $faker): array
|
||||||
{
|
{
|
||||||
return [];
|
return [
|
||||||
|
'required' => $faker->boolean(),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue