There are multiple methods, but this works:
Date::make('Due At')->withMeta(['value' => $this->due_at ?? Carbon::now()->addDays(2)->toDateString()])->hideFromIndex()->hideFromDetail(),
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Copyright 2023 © All rights Reserved