dwong98
S3 single upload 5gb restriction
Currently i have setup disk to s3, so which mean the livewire-tmp is also in s3 and it will be using storage()->move() to the correct bucket later on.
As title mentioned, if user upload a file that are more than 5gb, it will restricted by S3. Is there a possibility to overwrite the upload function to be using the s3 multipart upload from the SDK?
3 replies
Positioning record checkbox in contentGrid
Hi all, i have a table that are displaying all the data in grid by using contentGrid. Wanted to know if i can position the record checkbox to right side of the grid?
Some example codes.
based on documentation, i can change the checkbox position either BeforeCells or AfterCells, but seems like it wont work if i have a Stack layout wrapping all the components.
5 replies
Getting previous child relationship data before saving the parent data.
Hi, i am trying to create a version control on a model.
Let's say i have a model called Assets, and Assets can have many different versions. Once a user click 'save' in the edit page, I used hooks in EditAssets to create an record in asset versions control table first, then only continue updating the model. However, i can't to seems to get the old child relationships' data, but the parent Model works fine as i can get it through
I have tried to get the old children relationships' data at afterValidate by calling but this will get the latest relationship data instead of the old / previous one.
Is this because the relationship was synced / save as soon as the 'save' button is clicked? If this is the reason, any way that i can get the old relationships data before saving it?
2 replies