Using a checkboxes package or this one
Checkboxes::make(‘Permissions’, ‘selected_permissions’) ->options(\App\Permission::all()->pluck(‘id’, ‘name’))
Override the components registered in the Nova specific vue instance
Nova.booting((Vue, router) => { Vue.component('error-403', require('./components/CustomErrorPage')); Vue.component('error-404', require('./components/CustomErrorPage'));})
BelongsTo::make(‘User’)->withMeta([ ‘belongsToId’ => $this->user_id ?? auth()->user()->id]);
Source