raheel3031
raheel3031
FFilament
Created by raheel3031 on 11/5/2024 in #❓┊help
fabricator setting homepage
i cannot find in the documentation how to setup different pages. Anyone has experience with this?
5 replies
FFilament
Created by raheel3031 on 10/26/2024 in #❓┊help
path filament plugin in navigation menu
what are the paths of filament plugins? i want to list them in the adminserviceprovider,
17 replies
FFilament
Created by raheel3031 on 10/26/2024 in #❓┊help
tiptapeditor errors
i have installed tiptapeditor but it is causing problems Problem 1 - Root composer.json requires spatie/shiki-php ^1.3.0, found spatie/shiki-php[1.3.0] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require z3d0x/filament-fabricator:*" to figure out if any version is installable, or "composer require z3d0x/filament-fabricator:^2.1" if you know which you need. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
3 replies
FFilament
Created by raheel3031 on 10/24/2024 in #❓┊help
curator filament plugin view
No description
86 replies
FFilament
Created by raheel3031 on 10/11/2024 in #❓┊help
laravel breeze logout
I have laravel breeze installed. I created the guard customer. But when I logout as a customer the admin also logs out. How can I prevent this?
9 replies
FFilament
Created by raheel3031 on 9/22/2024 in #❓┊help
filament plugin menu-builder
Has anyone installed this plugin? I have installed it but when I go to the edit page of the menu builder. I get an error that the route (categories.show)is not defined. Anyone has an idea?
18 replies
FFilament
Created by raheel3031 on 9/19/2024 in #❓┊help
foreach loop not working
can someone help me with this loop. it is not working. I am using livewire 3
<!-- Filter section, show/hide based on section state. -->
<div class="pt-6" id="filter-section-1">
<div class="space-y-4">
@foreach ($categories as $category)
<div class="space-y-4" wire:key="{{ $category->id }}">
<div class="flex items-center">
<input id="filter-category-2" name="category[]" value="{{ $category->id }}" type="checkbox" wire:model.live="selected_categories" id="{{ $category->slug }}" class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
<label for="{{ $category->slug }}" class="ml-3 text-sm text-gray-600">{{ $category->name }}</label>
</div>
</div>
@endforeach
</div>
</div>
</div>
<!-- Filter section, show/hide based on section state. -->
<div class="pt-6" id="filter-section-1">
<div class="space-y-4">
@foreach ($categories as $category)
<div class="space-y-4" wire:key="{{ $category->id }}">
<div class="flex items-center">
<input id="filter-category-2" name="category[]" value="{{ $category->id }}" type="checkbox" wire:model.live="selected_categories" id="{{ $category->slug }}" class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
<label for="{{ $category->slug }}" class="ml-3 text-sm text-gray-600">{{ $category->name }}</label>
</div>
</div>
@endforeach
</div>
</div>
</div>
4 replies
FFilament
Created by raheel3031 on 9/14/2024 in #❓┊help
These credentials do not match our records.
i have copied a project from a repo. after I created a new filament user i get this message. These credentials do not match our records. how do i start with solving this?
10 replies
FFilament
Created by raheel3031 on 9/13/2024 in #❓┊help
slug is not generated within createOptionForm
No description
7 replies
FFilament
Created by raheel3031 on 9/13/2024 in #❓┊help
error: Array to string conversion
i am getting the error 'Array to string conversion' in this code:
Forms\Components\FileUpload::make('image')
->columnSpan('full')
->image()
->imageEditor()
->panelLayout('grid')
->multiple()
->directory('brands')
->maxFiles(5)
->reorderable()
->preserveFilenames(),
Forms\Components\FileUpload::make('image')
->columnSpan('full')
->image()
->imageEditor()
->panelLayout('grid')
->multiple()
->directory('brands')
->maxFiles(5)
->reorderable()
->preserveFilenames(),
how do i fix this???
10 replies
FFilament
Created by raheel3031 on 9/12/2024 in #❓┊help
styling image section in filament form builder
No description
11 replies
FFilament
Created by raheel3031 on 9/11/2024 in #❓┊help
Livewire only supports one HTML element per component. Multiple root elements detected for component
Error message I get: Livewire only supports one HTML element per component. Multiple root elements detected for component: [auth.forgot-password-page]
<!-- Form Group -->
<div>
<div class="flex justify-between items-center">
<label for="password" class="block text-sm mb-2 dark:text-white">Password</label>
<a wire:navigate class="text-sm text-blue-600 decoration-2 hover:underline font-medium dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600" href="/forgot-password">Forgot password?</a>
</div>
<div class="relative">
<input type="password" id="password" name="password" class="py-3 px-4 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400 dark:focus:ring-gray-600" required aria-describedby="password-error">
<div class="hidden absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3">
<svg class="h-5 w-5 text-red-500" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" />
</svg>
</div>
</div>
<p class="hidden text-xs text-red-600 mt-2" id="password-error">8+ characters required</p>
</div>
<!-- End Form Group -->
<!-- Form Group -->
<div>
<div class="flex justify-between items-center">
<label for="password" class="block text-sm mb-2 dark:text-white">Password</label>
<a wire:navigate class="text-sm text-blue-600 decoration-2 hover:underline font-medium dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600" href="/forgot-password">Forgot password?</a>
</div>
<div class="relative">
<input type="password" id="password" name="password" class="py-3 px-4 block w-full border border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400 dark:focus:ring-gray-600" required aria-describedby="password-error">
<div class="hidden absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3">
<svg class="h-5 w-5 text-red-500" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" />
</svg>
</div>
</div>
<p class="hidden text-xs text-red-600 mt-2" id="password-error">8+ characters required</p>
</div>
<!-- End Form Group -->
16 replies
FFilament
Created by raheel3031 on 9/10/2024 in #❓┊help
adding multiple categories in ProductResource error
No description
15 replies
FFilament
Created by raheel3031 on 9/10/2024 in #❓┊help
adding multiple categories to product
No description
2 replies
FFilament
Created by raheel3031 on 9/9/2024 in #❓┊help
url redirect not working
I am trying to create a redirect to a view page but this isn't working in laravel filament 3.
->actions([
Action::make('View Order')
->url(fn (Order $record): string => OrderResource::getUrl('view', $record))
->icon('heroicon-m-eye'),
]);
->actions([
Action::make('View Order')
->url(fn (Order $record): string => OrderResource::getUrl('view', $record))
->icon('heroicon-m-eye'),
]);
30 replies