Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
use Filament\Forms\Components\Group;
use Filament\Forms\Components\Placeholder;
use Filament\Forms\Components\Radio;
use Filament\Forms\Components\RichEditor;
use Filament\Forms\Components\Section;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
Expand Down Expand Up @@ -181,7 +182,7 @@ public static function getLegalAssistanceForm(): array
Section::make(__('intervention_plan.headings.final_observations'))
->maxWidth('3xl')
->schema([
Textarea::make('data.observations')
RichEditor::make('data.observations')
->label(__('intervention_plan.labels.final_observation'))
->maxLength(2500)
->columnSpanFull(),
Expand Down Expand Up @@ -383,7 +384,7 @@ public static function getSchemaForPsychologicalAssistance(): array
Section::make(__('intervention_plan.headings.psychological_evaluation'))
->maxWidth('3xl')
->schema([
Textarea::make('data.first_meeting_psychological_evaluation')
RichEditor::make('data.first_meeting_psychological_evaluation')
->label(__('intervention_plan.labels.first_meeting_psychological_evaluation'))
->maxLength(5000),
]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ private function getSchemaForLegalAssistance(): array
->schema([
TextEntry::make('data.observations')
->label(__('intervention_plan.labels.final_observation'))
->columnSpanFull(),
->columnSpanFull()
->html(),
]),

];
Expand Down Expand Up @@ -269,7 +270,8 @@ private function getSchemaForPsychologicalAssistance(): array
Section::make(__('intervention_plan.headings.psychological_evaluation'))
->schema([
TextEntry::make('data.first_meeting_psychological_evaluation')
->label(__('intervention_plan.labels.first_meeting_psychological_evaluation')),
->label(__('intervention_plan.labels.first_meeting_psychological_evaluation'))
->html(),
]),
];
}
Expand Down