joao nivaldo
How to create a hidden method for this component?
Hi everyone. I use this plugin to make small reports and it works really well, but I couldn't find a hidden method for its results table. Could someone help me understand its Table or BodyRow and add the hidden method by passing a condition like in Filament components? Thanks.
https://github.com/eighty9nine/filament-reports
5 replies
Create validation after field validation
Hello everyone. I need to create some validation rules that should be applied after the validations that are in the fields and before saving. For example, the sum of X fields cannot exceed 100 and others. This applies to both Create and Update. In which method should I implement them? And if anyone has a simple example, I would appreciate it. Thanks.
9 replies
Disable editing in table row
Hello everyone. I have a condition that disables the editing method of a record. It is working fine, but I noticed that if I click on other columns in the row it edits normally. Is there a way to disable this editing in the row where editing is disabled? Thanks.
6 replies
Get values from filters
Hello everyone. I have a table with some filters in it and I have a Header Action to generate the PDF. I would like to know how I get the values of the filters that I used in the search before clicking on the PDF Action? Thanks
2 replies
How to Filter by virtual attribute.
Hi, in my model I have some attributes that are virtual, that is, they do not actually exist in the database table. I would like to know if it is possible to use them in the Table Builder filters? If so, how do I proceed with this so as not to generate an error of an inexistent column in the database. Thank you.
8 replies
Vertical scrolling after form submit
Hello everybody. I have a landpage where in the middle of it I have a contact form that I created using a Livewire component with the Form Builder in it. When I click on the submit button and it generates a validation error, when I return to the page it scrolls all the way to the end and stays there. To see if there was an error, I have to scroll up to the form again. Does anyone know how to solve this scrolling problem after submitting the form?
6 replies