fix: validation

This commit is contained in:
Benjamin Nussbaum 2025-09-05 21:20:39 +02:00
parent ec704d8d83
commit 495bbe7b7e

View file

@ -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()