How to enable/disable field when another field is null/filled

DateTimePicker::make('starts_at'),
DateTimePicker::make('ends_at')
    ->disabled(fn (Get $get): bool => empty($get('starts_at'))),
Solution
starts_at should be ->live()
Was this page helpful?