mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix: validation
This commit is contained in:
parent
ec704d8d83
commit
495bbe7b7e
1 changed files with 5 additions and 5 deletions
|
|
@ -104,11 +104,11 @@ new class extends Component {
|
||||||
'markup_code' => 'nullable|string',
|
'markup_code' => 'nullable|string',
|
||||||
'markup_language' => 'nullable|string|in:blade,liquid',
|
'markup_language' => 'nullable|string|in:blade,liquid',
|
||||||
'checked_devices' => 'array',
|
'checked_devices' => 'array',
|
||||||
'playlist_name' => 'required_if:selected_playlist,new|string|max:255',
|
'device_playlist_names' => 'array',
|
||||||
'selected_weekdays' => 'nullable|array',
|
'device_playlists' => 'array',
|
||||||
'active_from' => 'nullable|date_format:H:i',
|
'device_weekdays' => 'array',
|
||||||
'active_until' => 'nullable|date_format:H:i',
|
'device_active_from' => 'array',
|
||||||
'selected_playlist' => 'nullable|string',
|
'device_active_until' => 'array',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function editSettings()
|
public function editSettings()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue