|
|
@@ -81,7 +81,7 @@ class ProjectResource extends Resource
|
|
81
|
81
|
Tab::make('專案概要')->schema([
|
|
82
|
82
|
Select::make('region_id')->label('地區')->options(function () {
|
|
83
|
83
|
return Region::where('visible', true)->pluck('name', 'id');
|
|
84
|
|
- }),
|
|
|
84
|
+ })->required(),
|
|
85
|
85
|
Translate::make()->schema(fn (string $locale) => [
|
|
86
|
86
|
Textarea::make('summaries')->label('簡述'),
|
|
87
|
87
|
TextInput::make('district')->label('區域'),
|