Correct the default status value.

This commit is contained in:
Alex Tselegidis 2023-06-07 08:38:27 +02:00
parent 6bb4bedea1
commit 359c458404

View file

@ -403,7 +403,8 @@ App.Components.AppointmentsModal = (function () {
$appointmentsModal.find('input, textarea').val('');
$appointmentsModal.find('.modal-message').fadeOut();
$appointmentStatus.find('option:first').prop('checked', true);
const defaultStatusValue = $appointmentStatus.find('option:first').val();
$appointmentStatus.val(defaultStatusValue);
$language.val('english');
$timezone.val('UTC');