mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-03 16:24:55 +00:00
✨ **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:
@@ -21,10 +21,10 @@ class extends Component {
|
||||
#[Locked]
|
||||
public $country = 'de';
|
||||
|
||||
public string $fromDate = '';
|
||||
public string $fromTime = '';
|
||||
public string $toDate = '';
|
||||
public string $toTime = '';
|
||||
public ?string $fromDate = null;
|
||||
public ?string $fromTime = null;
|
||||
public ?string $toDate = null;
|
||||
public ?string $toTime = null;
|
||||
|
||||
#[Validate('required|exists:venues,id')]
|
||||
public ?int $venue_id = null;
|
||||
|
||||
Reference in New Issue
Block a user