Files
ghostpizza/app/Filament/Resources/Ingredients/Schemas/IngredientForm.php
2025-10-11 17:02:49 +02:00

21 lines
445 B
PHP

<?php
namespace App\Filament\Resources\Ingredients\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class IngredientForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->label('Nazwa')
->required()
->maxLength(255),
]);
}
}