Files
nutzwerte_fi4/app/Filament/Clusters/Verwaltung/KontoTextblocks/Schemas/KontoTextblockForm.php
T
2026-05-13 10:10:48 +02:00

27 lines
852 B
PHP

<?php
namespace App\Filament\Clusters\Verwaltung\KontoTextblocks\Schemas;
use Filament\Forms\Components\RichEditor;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class KontoTextblockForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->required(),
// Textarea::make('beschreibung'),
RichEditor::make('textblock')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([
['bold', 'italic', 'underline', 'strike', 'subscript', 'superscript'],
]),
])->columns(1);
}
}