joao nivaldo
joao nivaldo
FFilament
Created by joao nivaldo on 11/18/2024 in #❓┊help
Disable editing in table row
Yes, I agree, but if possible, I would like to keep the behavior of clicking on the line and editing, as this is very intuitive for the client. And remove this behavior only in conditioned lines. Would this be possible?
6 replies
FFilament
Created by joao nivaldo on 11/18/2024 in #❓┊help
Disable editing in table row
In this case it will disable all rows in the table. If I'm not mistaken. I wanted to disable only the rows where it has disabled.
6 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
Hello, I found out why FREE is not activated at startup. It is due to the presence of values ​​in imageResizeTarget. If there are values ​​there, it starts keeping these measurements. So, in fact, it is not a BUG, ​​but rather expected behavior. Once again, I thank you for your help and your time.
19 replies
FFilament
Created by joao nivaldo on 11/14/2024 in #❓┊help
Print InfoList screen
Got it. Thank you very much again.
8 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
I understand. I will simulate it here and get back to you. Thanks.
19 replies
FFilament
Created by joao nivaldo on 11/14/2024 in #❓┊help
Print InfoList screen
I have a screen that is an infolist where there are details, for example, of a product. When you click Cmd+P or crtl+P it opens the print preview and everything comes together with the sidebar and the infolist. I would like to remove the header and the sidebar at this point and leave only the infolist. Is this possible?
8 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
I will create a repository and simulate it. Then I will reply here with the repository link. Thank you very much.
19 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
I've tried without panelAspectRatio() and it was the same. For this reason I had to put >imageEditorAspectRatios([null, '1:1', '16:9',]), so the client could choose Free. If you could do a test as soon as possible and see if it's a bug or if it's something here with me, I'd really appreciate it.
19 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
I may have done something wrong when calling the component. I'll post my code and if you find something wrong just tell me and I'll change it. Thanks
php
FileUpload::make('site_header')
->hiddenLabel()
->disk('public')
->directory('site_images/' . now()->format('Y/m'))
->acceptedFileTypes(['image/png'])
->imageEditor()
->imageResizeMode('cover')
->imageResizeTargetWidth('400')
->imageResizeTargetHeight('200')
->panelAspectRatio('16:9') //formato do box de preview
->imageEditorAspectRatios([null, '1:1', '16:9',])
->maxSize(1024),
php
FileUpload::make('site_header')
->hiddenLabel()
->disk('public')
->directory('site_images/' . now()->format('Y/m'))
->acceptedFileTypes(['image/png'])
->imageEditor()
->imageResizeMode('cover')
->imageResizeTargetWidth('400')
->imageResizeTargetHeight('200')
->panelAspectRatio('16:9') //formato do box de preview
->imageEditorAspectRatios([null, '1:1', '16:9',])
->maxSize(1024),
19 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
So I wanted to change this to free form when you enter the screen. Here everything is updated and it looks like this. Is there a way?
19 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
When it starts, it comes with a pattern in which it calculates proportion. If I move it vertically, it changes the width.
19 replies
FFilament
Created by joao nivaldo on 11/13/2024 in #❓┊help
Change the default value of the image crop format
Thanks for the answer, but I've already read this page and I can't find how to change the default value. Whenever I click on the editor icon it displays the crop rectangle in a fixed format. I wanted it to be free so the user can crop without maintaining the aspect ratio. Just like you do when you click on FREE crop.
19 replies
FFilament
Created by joao nivaldo on 10/29/2024 in #❓┊help
Fix Height Toggle Columns
Thanks. Mestre
5 replies
FFilament
Created by joao nivaldo on 10/29/2024 in #❓┊help
Strange error with RAWJS
Resolvido trocando o componente de InputText pelo Money do Filament-ptbr-forms-fields.
12 replies
FFilament
Created by joao nivaldo on 10/29/2024 in #❓┊help
Strange error with RAWJS
Obrigado
12 replies
FFilament
Created by joao nivaldo on 10/29/2024 in #❓┊help
Strange error with RAWJS
Se nao aparecer nenhuma outra sugestão eu vou fazer isto tb.
12 replies
FFilament
Created by joao nivaldo on 10/29/2024 in #❓┊help
Strange error with RAWJS
Ontem tava normal e hoje apareceu este erro. Não fiz nenhum update ou nada do genero.
12 replies
FFilament
Created by joao nivaldo on 10/28/2024 in #❓┊help
Replace section container in Split
It worked. Thank you.
7 replies
FFilament
Created by joao nivaldo on 10/28/2024 in #❓┊help
Replace section container in Split
I tried but it didn't work. Do you have any idea what the classes are?
7 replies
FFilament
Created by joao nivaldo on 10/24/2024 in #❓┊help
Change relation manager label
It worked perfectly, thank you very much. Ps. I'm a big fan of yours, I watch your videos every day at the beginning of my work morning. I loved your idea of ​​embracing Filament. Congratulations.
12 replies