wazkaz
Button blade component customization
I am using the button blade component and I noticed that a loading indicator appearing after click on the button. Is there a way to remove that loading indicator by passing example an attribute, or any other ways?
5 replies
New panel custom file structure discovery problem
I created a new panel and set up a custom folder structure for the panel to discover the files. I used a wildcard because some folders have different names. The problem is that if the Resources, Pages, or Widgets folders are missing, it throws an error. Additionally, I generated a new resource, placed everything in the correct folders, but it still throws an error saying that it cannot find the file, even though the file exists. Has anyone faced this issue before?
I am using the discovery function like this:
2 replies
Unique validation on edit throws error
I have a form field which have unique validation. When I am trying to update the record it throws the unique validation error. The documentation mentioned to add the
->unique(ignoreRecord: true)
but didn't helped. Anyone face this issue before? I also tried this ->unique(ignorable: fn ($record) => $record)
but same result.18 replies
Table widget heading change
Hello, i want to overwrite the table widget heading with a translatable string but I didn't find how i could. I tried to use like this: but it not accepting if i start with double underscore. If i use the static string it is working. Anyone faced with this before?
4 replies
Redirect parameter loss
Hello, can anyone exprienced that when you make a redirect and pass a parameter to it, it will lose at some point. That point is when an afterStateUpdated() function is ran. I query the parameter using: request()->query('maintenance'). The parameter in the url is there but the request()->query('maintenance') returning null.
5 replies
DateTimePicker time selection jumping back to 0
Hello, yesterday i was worked with the DateTimePicker and i tried to use the minDate/maxDate on the non-native component, but after I added that function I observed that when I trying to change the time it always jump back to 0 and if i remove that function the time picker works correctly. Is this some kind of bug or the minDate/maxDate not working with the non-native DateTimePicker?
14 replies
Loading indicator in the modal
Hello, I want to display a loading indicator in the modal, somehow. I trying to use the render hooks. Can anyone help me about it, which are there any premade render hooks for the modals? So in the form I have a select component and after I select a value it goes to fetch an API. I added the fetching logic in the afterStateUpdated() function, but the problem is there is no any indicator for the user about the fetching. The best would be if the select component show the loading indicator but for that we should update the select component itself.
6 replies
Relation manager display
Hey everyone,
I hope you're doing well! I'm currently working with Filament PHP and running into a bit of a challenge with the relation manager. It has two layout options, but by default, it only renders one at a time.
I'm looking for some advice or ideas on how I can make it render both layouts simultaneously. Any tips or experiences you could share would be super helpful!
Thanks in advance! 🙏
14 replies