shashika
Filament Install Error
how to fix below error in install filament
PS C:\Users\Shashika\Desktop\programs> composer require filament/filament:"^3.2" -W
The "3.2" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
- filament/filament v3.2.0 requires illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., v10.48.10] but these were not loaded, likely because it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
5 replies
How to override filament default form data store method
I'm looking to customize the default form data storage method in Filament. Specifically, I aim to direct the submitted form data to the CreateVehicle action class within the domain layer. Which function should I override to achieve this?
14 replies
Jetstream and filament UI conflict
I did a fresh install of laravel and first installed Jetstream. Then filament Panel Builder and Form Builder were installed.
import preset from './vendor/filament/support/tailwind.config.preset'
When the above preset is added to the tailwind.config.js file, the default Jetstream style changes. Please help me to resolve this issue.
https://filamentphp.com/docs/3.x/forms/installation#installing-tailwind-css3 replies
Custom Action Class (DDD)
Is it possible to submit data from multiple panels in filament to a custom action class ?
eg: when both admin and superadmin submits their data when creating a user it should go through the same action class.
Action Class : CreateUser.php
(This is decoupled from the HTTP layer)
7 replies
How to display multiple images in table builder
How to fix the following error?
League\Flysystem\Filesystem::has(): Argument #1 ($location) must be of type string, array given
// Vehicle Model
public function images(): MorphMany
{
return $this->morphMany(Image::class, 'imageable');
}
// Show Vehicles livewire component
protected function getTableColumns(): array
{
return [
ImageColumn::make('images.name')
->label('Vehicle Images')
->circular(),
];
}
note:This needs to be done outside of the Filament admin panel.1 replies