Maxi
Maxi
Explore posts from servers
FFilament
Created by Maxi on 10/23/2024 in #❓┊help
How to test modal actions?
I registered a modal action using the registerModalActions() function and when I mount the "parent" action and use the assertSee() function to check for the modal action's label I can find it just fine, but if I try to actuall call the modal action it says that no action with that name exists on my page, do I maybe have to load the action differently? This is how I'm currently trying to access it:
it('can use modal action', function () {
// boilerplate
livewire(PageResource::class)
->mountAction(ImportAction::class)
->assertActionExists('mymodalaction') // -> returns: Failed asserting that it exists
->assertSee('The label of my modal action'); // returns: true
})->only();
it('can use modal action', function () {
// boilerplate
livewire(PageResource::class)
->mountAction(ImportAction::class)
->assertActionExists('mymodalaction') // -> returns: Failed asserting that it exists
->assertSee('The label of my modal action'); // returns: true
})->only();
15 replies
NNuxt
Created by Maxi on 7/2/2024 in #❓・help
TypeError: Failed to fetch dynamically imported module:
Does anyone have any idea why my Nuxt site doesn't work in the Arc browser? I get no errors, it works fine in Chrome, Ff, Safari and localhost works too, but when I'm trying to open the production site it only shows the page for a split second and then it turns gray. The title of the site is also showing wrong, but again only in the Arc browser. These are the dependencies, they should all be up to date:
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/ui": "^2.17.0",
"@nuxtjs/seo": "^2.0.0-rc.11",
"@nuxtjs/tailwindcss": "^6.12.0",
"nuxt": "^3.12.2"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/ui": "^2.17.0",
"@nuxtjs/seo": "^2.0.0-rc.11",
"@nuxtjs/tailwindcss": "^6.12.0",
"nuxt": "^3.12.2"
},
12 replies
NNuxt
Created by Maxi on 6/19/2024 in #❓・help
NuxtUI modal content not showing
Hey, so I just installed nuxt ui and created this modal in pages/index.vue for some reason the content is not showing tough. It is loading when clicking the corresponding button and it disables scroll so it is definitely there but it's just not showing anything.
<UModal v-model="isOpen">
<h1 class="text-black">Hello world</h1>
</UModal>
<UModal v-model="isOpen">
<h1 class="text-black">Hello world</h1>
</UModal>
9 replies