carloscapote
Pasting in to a tagsInput splits a string
I'm not the original poster but I arrived here because I was facing the same issue. I just tried adding
->debounce(500)
but it keeps happening.
I've tested this with the latest versions of the framework Filament (3.0-stable), Laravel (10.10) and it happens both in Firefox and Chrome.8 replies
How do you test FileUpload input fields?
I found this article about how to test file uploads in Laravel (not in particular in Filament): https://laravel-news.com/testing-file-uploads-with-laravel. I'm giving it a try, now.
4 replies
TextInput does not add mask to field
FYI: I just created a new issue as I couldn't reopen yours. This time I included a reproduction case in which I show that the same mask used in a Livewire component without Filament, actually works (in Firefox): https://github.com/filamentphp/filament/issues/8560
22 replies
TextInput does not add mask to field
@mtbossa, Have you tried this since the last message? I've found some weird behaviors that I think that are related:
1. any Alpine mask seems to be ignored in Firefox when used from Filament,
2. in a clean Alpine project (or even in this page: https://alpinejs.dev/plugins/mask) the Alpine masks actually work smoothly in Firefox.
22 replies
Disable field if a relation manager has records
Ok, nevermind. I wasn't properly dispatching the event in the action. Here's a summary on how to make it work:
1. you don't need to make the select reactive nor live,
2. in the after method of your actions in the relation manager, you have to dispatch an event
3. in the EditOrder page, you have to listen the event and call fillForm so the disabled method is executed:
7 replies
Disable field if a relation manager has records
The issue is that I can't manage to make the disabled closure be executed when lines are changed. I guess there must be a way to execute it with events but I haven't been able to guess how yet
7 replies