Level 10
I can't understand anything !
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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),
];
}
Please or to participate in this conversation.