Skip to content

Commit

Permalink
fix: text area import issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Aug 11, 2024
1 parent a64b2a0 commit b1246e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Filament/Dashboard/Resources/ReportResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use App\Models\Report;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\SpatieTagsInput;
use Filament\Forms\Components\TextArea;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Forms\Get;
Expand Down Expand Up @@ -55,7 +55,7 @@ public static function form(Form $form): Form
TextInput::make('title')
->hintIcon('heroicon-m-question-mark-circle', tooltip: 'Title of the report. This is required.')
->required(),
TextArea::make('evidence')
Textarea::make('evidence')
->hintIcon('heroicon-m-question-mark-circle', tooltip: 'Please provide Evidence/Comment to support your claims in this report. This will help our Curators in reviewing your report.')
->label('Evidence/Comment'),
TextInput::make('url')
Expand Down Expand Up @@ -123,7 +123,7 @@ public static function form(Form $form): Form
}
})
->searchable(),
TextArea::make('mol_id_csv')
Textarea::make('mol_id_csv')
->label('Molecules')
->placeholder('Enter the Identifiers separated by commas')
->hidden(function (Get $get, string $operation) {
Expand Down Expand Up @@ -156,7 +156,7 @@ public static function form(Form $form): Form
->afterStateUpdated(function (?Report $record, ?string $state, ?string $old) {
ReportStatusChanged::dispatch($record, $state, $old);
}),
TextArea::make('comment')
Textarea::make('comment')
->hintIcon('heroicon-m-question-mark-circle', tooltip: 'Provide your comments/observations on anything noteworthy in the Curation process.')
->hidden(function () {
return ! auth()->user()->hasRole('curator');
Expand Down

0 comments on commit b1246e6

Please sign in to comment.