Fix the dialog components won't toggle when a created row is added.
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.3.0/flowbite.min.css" rel="stylesheet" />
|
||||
<script>
|
||||
htmx.onLoad(function(content) {
|
||||
if(!content.outerHTML.startsWith('<p'))
|
||||
initFlowbite();
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="flex flex-col min-h-screen bg-gray-50 dark:bg-gray-900">
|
||||
|
||||
Reference in New Issue
Block a user