Create Resource from Linked Resource View Page - form error
Actions4️⃣v4
I have a working project on Filament v3, which I am moving to v4, there is a Purchase model, where people add Quotes. quotes are added by an Add Quote button on Purchase Resource View Page - there is a multi-step Wizard to add quotes.
On v3, it works fine, on v4, the Add Quote button (which is actually a CreateAction) opens the purchase Create page - ignoring model and provided steps method.
I changed it to simple Action and now the form mentioned in schema / steps is being opened, but it is checking for relationships on the current Purchase View model, resulting in error
LogicExceptionvendor\filament\forms\src\Components\Select.php:1289The relationship [vendor] does not exist on the model [App\Models\Purchase].
LogicExceptionvendor\filament\forms\src\Components\Select.php:1289The relationship [vendor] does not exist on the model [App\Models\Purchase].
The relationship is on quote which belongsTo Vendor and Purchase both, Purchase select relation is hidden on ViewPurchase and set when creating, Vendor needs to be selected in the modal
filament create action error replication. Contribute to zaidpirwani/filament-v4-create-other-model-via-modal development by creating an account on GitHub.