получаю ошибку
Mi modal
Код: Выделить всё
{{ __('Allergies') }}
{{ __('Close') }}
@push('scripts')
document.addEventListener('DOMContentLoaded', function() {
window.addEventListener('openAllergieAlertModal', function() {
try {
var allergieAlertModal = new bootstrap.Modal(document.getElementById(
'allergieAlertModal'), {
keyboard: false
});
allergieAlertModal.show();
} catch (error) {
console.error('Error opening allergieAlertModal:', error);
}
});
});
@endpush
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/78835976/have-a-problema-with-this-error-uncaught-in-promise-in-laravel-php-handling[/url]