Refactored Manufacturer and Buildplate Livewire components. Introduced create, edit, and show components with route-based navigation. Updated views for consistency and cleaned up unused modals and legacy code. Adjusted styles and table layouts.

This commit is contained in:
2025-12-14 02:30:52 +01:00
parent ac812ed142
commit 95f0154235
22 changed files with 599 additions and 382 deletions
+2
View File
@@ -4,6 +4,7 @@ namespace App\Livewire\Color;
use App\Models\Color as Model;
use Livewire\Attributes\title;
use Livewire\Attributes\Validate;
use Livewire\Component;
#[title('Colors')]
@@ -15,6 +16,7 @@ class CreateColor extends Component
public string $name = '';
public string $hex = '';
#[Validate('required')]
public function save(){
$this->validate([
'name' => ['required', 'string', 'max:255'],