Default option to true in method parameters

This commit is contained in:
Brett Bailey
2025-05-28 13:56:33 +10:00
parent f7edc29eb7
commit 28fe1de475
@@ -244,7 +244,7 @@ class BaseFileUpload extends Field implements Contracts\HasNestedRecursiveValida
return $this;
}
public function pasteable(bool | Closure $condition = false): static
public function pasteable(bool | Closure $condition = true): static
{
$this->isPasteable = $condition;