ahmant
ahmant
FFilament
Created by ahmant on 5/15/2024 in #❓┊help
Collapse list page widgets
No description
7 replies
FFilament
Created by ahmant on 11/20/2023 in #❓┊help
FileUpload reset after locale switch
Description In "Edit/Create" form which has a "FileUpload" component, the "FileUpload" content/file will reset/clear when we switch the locale using the "LocaleSwitcher" action button. Steps to reproduce 1. Create a resource with "Create" and "Edit" pages, with translation 2. Add a "FileUpload" component to the resource form (note that the field/column is not translatable) 3. Open the "Create" or the "Edit" page (similar issue for both pages) 4. Choose a file 5. Switch the locale => The "FileUpload" will reset Expected Behavior 1. If the "file" column is not translatable: When switching the locale the "FileUpload" field must not change its state 2. If the "file" field is translatable: When switching the locale the "FileUpload" field must change its state to the new edited locale value, not resetting/clearing every its state
8 replies
FFilament
Created by ahmant on 10/12/2023 in #❓┊help
FileUpload disable view/load for large file
No description
4 replies
FFilament
Created by ahmant on 10/12/2023 in #❓┊help
Video Uploader for Vimeo
Can we use "Vimeo" API in the "Video Uploader"?
2 replies
FFilament
Created by ahmant on 4/27/2023 in #❓┊help
FileUpload to a separated database table
I want to upload multiple files to a different table (example: courses_attachments), with additional data - id - course_id - attachment_path - attachment_size - attachment_name Can we do that?
4 replies
FFilament
Created by ahmant on 3/29/2023 in #❓┊help
Set MarkdownEditor max height
I want to set a max-height for the Markdown editor field I tried this:
MarkdownEditor::make('settings.legal_agreements.terms_conditions')
->label('Terms & Conditions')
->extraAttributes(['style' => 'max-height: 300px'])
MarkdownEditor::make('settings.legal_agreements.terms_conditions')
->label('Terms & Conditions')
->extraAttributes(['style' => 'max-height: 300px'])
But didn't work as expected
3 replies
FFilament
Created by ahmant on 3/25/2023 in #❓┊help
Change form submit URL / Route parameters
Hello, How to change the form submit URL or route parameters? I have a "Chapter" resource, that's related to a "Course", so in the URL, I have two parameters, one for the "chapter record (ID)" and one for the "related course (ID)" So when saving, I need to get the course ID from the URL
7 replies
FFilament
Created by ahmant on 3/12/2023 in #❓┊help
Admin Page translatable?
How can we integrate the custom admin page (https://filamentphp.com/docs/2.x/admin/pages/getting-started) with filament spatie translatable plugin?
8 replies