**Tests & Nullable Fixes:** Added tests to ensure no crashes when nullable Livewire properties are explicitly set to null. Updated several Livewire components to handle nullable properties gracefully. 🚀

This commit is contained in:
BT
2026-05-02 22:27:06 +01:00
parent 172217d388
commit b3a688cf2b
12 changed files with 154 additions and 30 deletions
@@ -20,14 +20,14 @@ class extends Component {
#[Locked]
public $country = 'de';
public string $startDate = '';
public string $startTime = '';
public ?string $startDate = null;
public ?string $startTime = null;
// Explicitly track timezone for reactivity
public string $userTimezone = '';
public bool $seriesMode = false;
public string $endDate = '';
public ?string $endDate = null;
public ?RecurrenceType $recurrenceType = null;
public ?string $recurrenceDayOfWeek = null;