creativetimofficial / ct-material-dashboard-pro-laravel

Material Pro Dashboard For Laravel Framework 11.x and Up
https://www.creative-tim.com/live/material-dashboard-pro-laravel
19 stars 6 forks source link

Sweet Alert #19

Closed TimmKnuth closed 4 years ago

TimmKnuth commented 4 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

Please describe the behavior you are expecting

Current Behavior

What is the current behavior?

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. step 1
  2. step 2
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

Please include any relevant log snippets or files here.

TimmKnuth commented 4 years ago

Hello, I am trying to use SweetAlerts in my Table to delete a row. But the SweetAlert Popup shows just 2seconds and then it disappears. So my table data looks like this:

@can('manage-users', App\User::class)

@csrf @method('delete') edit
                            @endcan
teamupdivision commented 4 years ago

Hello, thanks for using our products! When initializing sweetalert you need to give it a timer parameter, for example, for 5 seconds you need to have timer: 5000

All the best!