CarbonNanotubes
CarbonNanotubes
Explore posts from servers
FFilament
Created by CarbonNanotubes on 10/3/2024 in #❓┊help
Displaying Custom Model attributes in a table
Fixed it by changing my attribute to look like this
public function getDefinedNameAttribute()
{
if ($this->machine_status_id != null) {
return $this->line_status->name;
}

if ($this->machine_state_id != null) {
return $this->machine_state->name;
}

return $this->name;
}
public function getDefinedNameAttribute()
{
if ($this->machine_status_id != null) {
return $this->line_status->name;
}

if ($this->machine_state_id != null) {
return $this->machine_state->name;
}

return $this->name;
}
Also in the model
protected $appends = ['definedName'];
protected $appends = ['definedName'];
4 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
Thanks for your help with this, I really appreciate it!
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
I didn't think this project had a custom theme but apparently it did. I'm not sure what I was thinking back when I set this up initially but I had defined a custom theme that was just pulling in the filament.css file from the vendor directory? After performing a search for filament.css I was able to see that in the app service provider I was calling Filament::registerViteTheme('resources/css/filament.css');, removing that allowed the proper styles to load.
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
No description
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
yes I will look into that and reply back here with my findings
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
I get the error before the upgrade as well....
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
I'm going to double check if I am able to run artisan view:clear before the upgrade
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
Same error still
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
Same error. I will revert back to last good commit and try again
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
yeah I'm aware lol
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
ok I will try that
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
yes I did, I just noticed that I had done things out of order compared to the docs. I had upgraded livewire first instead of filament first which caused those dependency issues. So I reset everything back to my latest commit and tried again. This time 1. Upgrade filament with upgrade package 2. Update all plugins to the latest version 3. Update Livewire to V3 4. run artisan filament:install Error: 255 still returned Is the last step of the install command to clear view cache?
23 replies
FFilament
Created by CarbonNanotubes on 10/2/2024 in #❓┊help
filament:install Error 255
I'm not really sure where to look to solve the issue. Seems like error 255 is just a generic "I don't know what to do" type of error?
23 replies
FFilament
Created by CarbonNanotubes on 5/8/2023 in #❓┊help
Filter by multiple Relationship attributes
How did I miss that in the docs!? When I was looking at this yesterday I was thinking "I'm surprised they didn't think of this use case when they have thought about so many other use cases"
6 replies
FFilament
Created by CarbonNanotubes on 5/8/2023 in #❓┊help
Filter by multiple Relationship attributes
6 replies
FFilament
Created by CarbonNanotubes on 3/8/2023 in #❓┊help
Change Delete Icon of Repeater
I'll leave it for now lol but thanks for the tip!
5 replies
FFilament
Created by CarbonNanotubes on 3/7/2023 in #❓┊help
CSS and JS blocked in new project
Thanks for your help!
19 replies
FFilament
Created by CarbonNanotubes on 3/7/2023 in #❓┊help
CSS and JS blocked in new project
Ok I had remove any custom code in AppServiceProvider(forcing https and custom filament.css file) and it did not work but uncommenting forcing https and now it works
19 replies
FFilament
Created by CarbonNanotubes on 3/7/2023 in #❓┊help
CSS and JS blocked in new project
19 replies
FFilament
Created by CarbonNanotubes on 3/7/2023 in #❓┊help
CSS and JS blocked in new project
19 replies