File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -445,6 +445,7 @@ App.Components.AppointmentsModal = (function () {
445
445
// Empty form fields.
446
446
$appointmentsModal . find ( 'input, textarea' ) . val ( '' ) ;
447
447
$appointmentsModal . find ( '.modal-message' ) . addClass ( '.d-none' ) ;
448
+ $appointmentsModal . find ( '.is-invalid' ) . removeClass ( 'is-invalid' ) ;
448
449
449
450
const defaultStatusValue = $appointmentStatus . find ( 'option:first' ) . val ( ) ;
450
451
$appointmentStatus . val ( defaultStatusValue ) ;
@@ -510,6 +511,7 @@ App.Components.AppointmentsModal = (function () {
510
511
511
512
App . Utils . UI . initializeDateTimePicker ( $endDatetime ) ;
512
513
App . Utils . UI . setDateTimePickerValue ( $endDatetime , endDatetime ) ;
514
+ $appointmentsModal . find ( '.modal-message' ) . removeClass ( 'alert-danger' ) . text ( '' ) . addClass ( 'd-none' ) ;
513
515
}
514
516
515
517
/**
You can’t perform that action at this time.
0 commit comments