This commit is contained in:
salam committed 2025-10-20 11:51:00 +02:00
1 parent 3a35ccd69d
commit 261fb0916d
38 files changed
+348 -258

No files matched your search

@@ -38,12 +38,17 @@ class ProjekteForm
Tab::make('Zuordnung')
->schema([
Select::make('gutachter_id')->relationship(name: 'gutachter', titleAttribute: 'company')->required(),
Select::make('auftraggeber_id')->relationship(name: 'auftraggeber', titleAttribute: 'company')->required(),
Select::make('auftraggeber_id')
->searchable()
->loadingMessage('Lade Auftraggeber...')
->relationship(name: 'auftraggeber', titleAttribute: 'company')
->required(),
Radio::make('status')->options(ProjektStatus::class)->required(),
]),
Tab::make('Beschreibung')
->schema([
RichEditor::make('beschreibung')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([
['bold', 'italic', 'underline', 'strike', 'subscript', 'superscript', 'link'],
['alignStart', 'alignCenter', 'alignEnd', 'horizontalRule'],