Andrew Wallo vor 10 Monaten
Ursprung
Commit
a2e4dcacf7
1 geänderte Dateien mit 7 neuen und 5 gelöschten Zeilen
  1. 7
    5
      app/Filament/Company/Resources/Accounting/DocumentResource.php

+ 7
- 5
app/Filament/Company/Resources/Accounting/DocumentResource.php Datei anzeigen

@@ -125,11 +125,13 @@ class DocumentResource extends Resource
125 125
                                     ->numeric()
126 126
                                     ->live()
127 127
                                     ->default(1),
128
-                                Forms\Components\TextInput::make('unit_price')
129
-                                    ->required()
130
-                                    ->live()
131
-                                    ->numeric()
132
-                                    ->default(0),
128
+                                Forms\Components\Group::make([
129
+                                    Forms\Components\TextInput::make('unit_price')
130
+                                        ->hiddenLabel()
131
+                                        ->live()
132
+                                        ->numeric()
133
+                                        ->default(0),
134
+                                ]),
133 135
                                 Forms\Components\Placeholder::make('total')
134 136
                                     ->hiddenLabel()
135 137
                                     ->content(function (Forms\Get $get) {

Laden…
Abbrechen
Speichern