darrenm
darrenm
FFilament
Created by darrenm on 10/30/2024 in #❓┊help
Modal submit button hidden behind Select list options
Hello Filamenters I have a UI problem I am struggling to solve. I've created table Action for a resource which requires using a multiple Select field. Non-technical stakeholders are reporting that they are unable to submit the form after choosing users because there is no submit button. This is because, when set to multiple(true) the auto-complete display remains present after selecting each user. It is necessary to "click away" into blank space to reveal the submit button underneath. Turning off the multiple select solves the problem, but would make the process cumbersome. I'd welcome any ideas for getting around this issue. Screencast attached. My form schema is this:
->schema([
Select::make('user_id')
->label(__('Name'))
->multiple(true)
->native(false)
->options(fn() =>
GuestsAvailableForProject::execute($this->ownerRecord)
)
->preload()
->required()
])->columns(1);
->schema([
Select::make('user_id')
->label(__('Name'))
->multiple(true)
->native(false)
->options(fn() =>
GuestsAvailableForProject::execute($this->ownerRecord)
)
->preload()
->required()
])->columns(1);
2 replies
FFilament
Created by darrenm on 9/25/2024 in #❓┊help
Wizard not submitting data on final step
No description
10 replies
FFilament
Created by darrenm on 8/21/2024 in #❓┊help
FileUpload field validation passes on upload but fails on submit
Hello Filament people! Working on my first project and have a curious problem with a FileUpload field. I'm allowing upload of a favicon and am validating using
->acceptedFileTypes([
'image/vnd.microsoft.icon',
])
->acceptedFileTypes([
'image/vnd.microsoft.icon',
])
This works just fine for the upload task - so I believe the mime type is correct. When the form is submitted, it fails with a validation.mimetypes error. Using a ->image() validation works fine. Not sure what's going on here - I'd prefer to restrict to just .ico files. filament forms v3.2.100, Ubuntu 2204/ PHP8.3 host
16 replies