DarkCoder
DarkCoder
FFilament
Created by DarkCoder on 6/2/2024 in #❓┊help
Use value from parent model as default in attachAction relationmanager
Figured it out, i had to use
->default($this->getOwnerRecord()->default_price),
->default($this->getOwnerRecord()->default_price),
4 replies
FFilament
Created by DarkCoder on 3/15/2024 in #❓┊help
Throwing ValidationException from afterStateUpdated
I figured this out, apparently the field has to be called data.start_datetime instead of just start_datetime so throw ValidationException::withMessages(['data.start_datetime' => "error here"]);
3 replies