You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Filament/Pages/Settings/GeneralPage.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
namespaceApp\Filament\Pages\Settings;
4
4
5
+
useApp\Rules\ValidCronExpression;
5
6
useApp\Settings\GeneralSettings;
6
7
useFilament\Forms\Components\Card;
7
8
useFilament\Forms\Components\Grid;
@@ -64,6 +65,7 @@ protected function getFormSchema(): array
64
65
Section::make('Speedtest Settings')
65
66
->schema([
66
67
TextInput::make('speedtest_schedule')
68
+
->rules([newValidCronExpression()])
67
69
->helperText('Leave empty to disable the schedule. You can also use the cron expression generator [HERE](https://crontab.cronhub.io/) to help you make schedules.')
0 commit comments