mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
url rule corrected
This commit is contained in:
@@ -28,7 +28,7 @@ class MeetupEventForm extends Component
|
|||||||
'meetupEvent.start' => 'required',
|
'meetupEvent.start' => 'required',
|
||||||
'meetupEvent.location' => 'string|nullable',
|
'meetupEvent.location' => 'string|nullable',
|
||||||
'meetupEvent.description' => 'string|nullable',
|
'meetupEvent.description' => 'string|nullable',
|
||||||
'meetupEvent.link' => 'string|url|nullable',
|
'meetupEvent.link' => 'url|nullable',
|
||||||
|
|
||||||
'series.*.start' => 'required',
|
'series.*.start' => 'required',
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class MeetupEvent extends Resource
|
|||||||
|
|
||||||
Text::make('Link')
|
Text::make('Link')
|
||||||
->hideFromIndex()
|
->hideFromIndex()
|
||||||
->rules('nullable', 'string')
|
->rules('nullable', 'url')
|
||||||
->nullable()
|
->nullable()
|
||||||
->help(__('For example, a link to a location on Google Maps or a link to a website. (not your Telegram group link)')),
|
->help(__('For example, a link to a location on Google Maps or a link to a website. (not your Telegram group link)')),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user