joao nivaldo
Login screen without text Inputs
Hi, so it doesn't show any errors in the console and it's in production. Last night I decided to turn off the vendor and create it again and it started working again. I don't know why, but it must have messed up something in the filament folder. Thanks
6 replies
Create validation after field validation
I tried to use this but it didn't work. I think I did something wrong. I'll post the code I made and if possible correct me. Another thing is it possible to use this beforevalidate also in the Edit Page?
protected function afterValidate(): void
{
$this->addError('TRATO1', 'XXXXXXX');
}
9 replies
How to update Relation Manager table data
I have a page that has a relationship on it. When I include or delete an item in the relationship it has to update the values in the parent form of the relationship on this page. And this is only happening when I include the item and when I remove it it is not updating the fields. I will send the images for you to see.
23 replies
How to update Relation Manager table data
Hi, I did this but instead of using dispatchSelf I used after. I imagine it's similar. When I include a product in the relationship, it updates the page without any problems, but when I dispatch it in the relationship pipeline, it doesn't update at all. It goes through the refresh method and executes $this->formFill() but doesn't update the page. Do you know what it could be?
23 replies
How to update Relation Manager table data
How would I add POLLING?
Using the ON method would be nice, but all the examples I found only refresh the OWNER table builder of the relation-manager. If you could give me an example of how I would do it to refresh only the relation, I would appreciate it. Thanks.
23 replies
How to update Relation Manager table data
Thanks for the suggestion, but I don't think I explained what I wanted well. I need that when the user clicks on the REFRESH button it triggers an action that will read the relationship and display the data in the table below the button. Something like $this->relation-manger->refresh(). then the table will be updated. Thanks
23 replies