Frédéric
Frédéric
FFilament
Created by Frédéric on 10/12/2024 in #❓┊help
Dédicated page relation mùanager
Hello everyone, I have a ressource list post. Some of the post can have multiple authors and other not. I would like to have a link into my action dropdown (only for the post who can have multi authors) to access to a dedicated page for the authors. I don't want that the relation manager appear in the post edit form. Thx in advance Fred
3 replies
FFilament
Created by Frédéric on 6/29/2024 in #❓┊help
field value disapear during my slug generation
This is my field code: TextInput::make('name') ->required() ->label('Nom de la chambre') ->live(onBlur: true) ->afterStateUpdated(fn(?string $state, Set $set) => $set('slug', SlugService::createSlug(Lodging::class, 'slug', $state ?? '', ['unique' => true])))
Like the video show, during the time during the slug is generated, if the user continue to fill the form, it will remove all. Not a good experience for the user. How can I ovoid this ?
11 replies
FFilament
Created by Frédéric on 6/27/2024 in #❓┊help
Joint cast between create and update
Hello, I would like format the value of my lastname input in uppercase when created and updated. Is there a way to do it only one time or should I do it with the both lifecycle hook ?
7 replies
FFilament
Created by Frédéric on 4/20/2024 in #❓┊help
Custom header widget with HTML
Hello, I would like to put some Html (come from blade file.) into a widget. I found the getHeading but it seams to be escape ... Thx in advance
5 replies
FFilament
Created by Frédéric on 4/8/2024 in #❓┊help
Navigation mixe groups and items
Hello, I would like to know if I can alternate groups and items in the PanelProvider->navigation ? The top level items are in alphabetical order. A - Group 1 -> add model 1 -> list model 1 B - Model 2 list C - Model 3 list D - Group 2 -> add model 4 -> list model 4
5 replies
FFilament
Created by Frédéric on 3/26/2024 in #❓┊help
How do custom field : Dynamic datalist + Input array
Hello, I try to migrate my old backend to filament. The last thing I need to do is the one in the video. For the moment it's JS vanilla but I realy don't know how make it as custom field with livewire. Edit: I finaly succed to do it with hidden field and input event js, but how can i do it properly
8 replies
FFilament
Created by Frédéric on 3/13/2024 in #❓┊help
FileUpload: Button to change the image.
Hello, Is it possible to add a button in the image preview (or by clicking on the preview) to change the curent image (open the browers windows file selection) or should I click on the cross icon, waiting for the temp image is delete and then click on the upload area. Thx in advance
4 replies
FFilament
Created by Frédéric on 2/27/2024 in #❓┊help
Reverse upload image preview
Hey, can we reverse the preview's order for the upload file ? The first uploaded image is the lastest in the aera. Can it be the first one like it's store in database ? Thx
6 replies