Gush
Gush
FFilament
Created by Gush on 6/13/2024 in #❓┊help
CreateAnother Button closing modal
Temporary solution
7 replies
FFilament
Created by Gush on 6/13/2024 in #❓┊help
CreateAnother Button closing modal
return CreateAction::make('taskcNew')
->model(TimesheetTasks::class)
->label(__('nlmn-timesheet-module::timesheet.calendar.calendar_create'))
->form($this->formArray())
->modalSubmitActionLabel(__('nlmn-timesheet-module::timesheet.submit'));
return CreateAction::make('taskcNew')
->model(TimesheetTasks::class)
->label(__('nlmn-timesheet-module::timesheet.calendar.calendar_create'))
->form($this->formArray())
->modalSubmitActionLabel(__('nlmn-timesheet-module::timesheet.submit'));
7 replies
FFilament
Created by Gush on 6/13/2024 in #❓┊help
CreateAnother Button closing modal
7 replies
FFilament
Created by Grasshopper on 4/24/2024 in #❓┊help
Position page title and bread crumb in tool bar?
public function getBreadcrumbs(): array
{
return ['no way', 'dude'];
}
public function getBreadcrumbs(): array
{
return ['no way', 'dude'];
}
4 replies
FFilament
Created by Gush on 6/7/2024 in #❓┊help
SuffixActions not Sticking to top
No description
5 replies
FFilament
Created by Rome on 5/13/2024 in #❓┊help
Excel export autofit column width
public function getXlsxCellStyle(): Style
{
return (new Style())
->setShouldWrapText(false);
}

public function getXlsxHeaderCellStyle(): Style
{
return (new Style())
->setShouldWrapText(false);
}
public function getXlsxCellStyle(): Style
{
return (new Style())
->setShouldWrapText(false);
}

public function getXlsxHeaderCellStyle(): Style
{
return (new Style())
->setShouldWrapText(false);
}
16 replies
FFilament
Created by Rome on 5/13/2024 in #❓┊help
Excel export autofit column width
@Rome did you solve it?
16 replies
FFilament
Created by Gush on 5/29/2024 in #❓┊help
Position row action before columns
Not quite what i wanted, because im doing a renew contract action and i wanted it to be on the start of the row and then have the normal edit/delete actions on the end
7 replies
FFilament
Created by Gush on 5/24/2024 in #❓┊help
How to work with State as a array?
just did
x-init="state = [];"
x-init="state = [];"
5 minutes ago, crazy how after a full morning it was as simple as this
7 replies
FFilament
Created by Gush on 5/24/2024 in #❓┊help
How to work with State as a array?
yeah gives null too
7 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
bumping this
11 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
11 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
did that, same problem create button doesnt respond
11 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
import it in my blade view?
11 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
how can i do that? im working with packages so in the js folder of my package i created ProductComponent.js with the following:
export function tableComponent() {
return {
products: [],
form: {
ref: '',
description: '',
qtd: 0,
unit_value: 0
},
showForm: false,
openForm() {
this.showForm = true;
},
closeForm() {
this.showForm = false;
this.resetForm();
},
resetForm() {
this.form = {
ref: '',
description: '',
qtd: 0,
unit_value: 0
};
},
saveProduct() {
this.products.push({
...this.form,
total_value: (this.form.qtd * this.form.unit_value).toFixed(2)
});
this.closeForm();
},
removeProduct(index) {
this.products.splice(index, 1);
}
};
}
export function tableComponent() {
return {
products: [],
form: {
ref: '',
description: '',
qtd: 0,
unit_value: 0
},
showForm: false,
openForm() {
this.showForm = true;
},
closeForm() {
this.showForm = false;
this.resetForm();
},
resetForm() {
this.form = {
ref: '',
description: '',
qtd: 0,
unit_value: 0
};
},
saveProduct() {
this.products.push({
...this.form,
total_value: (this.form.qtd * this.form.unit_value).toFixed(2)
});
this.closeForm();
},
removeProduct(index) {
this.products.splice(index, 1);
}
};
}
now what i have to do?
11 replies
FFilament
Created by Gush on 5/15/2024 in #❓┊help
Alpine component broke filament create button
11 replies