Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

KikoLdasd's avatar

Create and save don`t does not occur

For example, I edit on a page, I go into it and I have a "Create premium" button on that page, don't I have this button? What is the specific reason? That it's a subpage of a page? Or is it a rule to have that button appear? In fields I have this

 public function fields(Request $request)
    {
        return [
            // ID::make()->sortable()->onlyOnForms(),
            BelongsTo::make(__('Fields.Campaign'),'Campaign','App\Nova\Campaign')->searchable(),
         //  BelongsTo::make('Campaign')->searchable(),
            BelongsTo::make(__('Fields.Prize'),'Prize','App\Nova\Prize'),
            Number::make(__('Fields.Stock'),'stock')->sortable()->min(0),
            Number::make(__('Fields.MinStockNotification'),'min_stock_notification')->sortable()->min(0),
        ];
    }
0 likes
3 replies
KikoLdasd's avatar

I create in this url ?viaResource=campaigns&viaResourceId=13&viaRelationship=campaignStocks with via resources Does it have connection beetwen?

{dusk:"update-and-continue-editing-button",disabled:e.isWorking,processing:e.wasSubmittedViaUpdateResourceAndContinueEditing},

Please or to participate in this conversation.