vitali
Explore posts from serversHow I can integrate AI inside filamentphp?
Hi all, basically my client wants to have chatgpt ai integration with his filamentphp app.
AI must tell him tespt to do to reduce costs, better organizations of resources, calendars, tasks, expenses and so on...
My question is , how does it work? AI must read actual data and process the data to give answers? OR how? Need to implement custom models code?
Thanks, if anyone ever did something like that before appreciate a good feedback 🙏
5 replies
How to create a website and have the filamentphp as SASS product?
Hi guys, I'd like to create a website with statamic cms (laravel) and also give access to filamentphp dashboard to users (login, register etc..) anyone did it? Also what I need is to know on website the user logged in..
Anyone evr faced this challenge?
Thanks
3 replies
Add extra fields inside Import CSV Modal
Hi guys, it's possible to uplaod a CSV file and attach some inputs or select at the bottom of dragzone?
My needs: I need to upload a csv file (product variants) and specify for which product is the file related
🙏
2 replies
FileUpload component form custom Model
Hi guys, I have 2 tables:
1. listings
2. photos
I want to use original FileUpload component, meaning I will store my images into photos table.
Images upload correctly , but how I can save the data inside Photo.php model after upload?
FileUpload::make('photos')
->disk('public')
->columnSpan('full')
->multiple()
->minFiles(1)
->maxFiles(15)
->reorderable()
->visibility('public'),
class Photo extends Model
{
use HasFactory;
protected $fillable = [
'listing_id',
'uid',
'name',
'file_name',
'position'
];
}
1 replies
USe different user model in filament.php
Hi guys, I have a different user model for filament, how can I change it in config? because I writed this but without success (filament.php):
'users' => [
'model' => \App\Models\Filament\User::class,
],
Thanks13 replies
RRefine
•Created by fair-rose on 5/19/2023 in #ask-any-question
How to use form instance ANTD inside filterDropdown?
https://codesandbox.io/s/compassionate-bash-pzxuf7?file=/src/App.jsx
Please help me build a correct way on filter dropdown, I need multiple inputs inside the filterDropdown and really don't know how to do it; my mission: get data dynamically from api on table change params (pagination, fitlers or sortings) instead of using default antd statically fitlers...
I just need to output from each column the key and value and columnKey as object, and create an array inside App.jsx, after that I will manage by myself axios get actions. Really thanks, maybe also something wrong with my code, but I tried my best, many thanks... 🙏
12 replies