Just Simeon
Explore posts from serversForm with components containing FormInputs
I am using a UForm for a bigger form we have, it has multiple steps which are separated into their own components.
Each component is conditionally rendered inside the UForm and they share a common schema and state (the same one that the form uses).
my current Idea is to trigger the validation manually once the user presses the next step button but still keep the normal FormInput error display.
However since the FormInputs are in their own components, the error is not properly set and therefore not displayed.
Is there a way to fix this?
5 replies
Nuxt Icon causing CSP errors
Heya, I have a pretty strict CSP but I am getting style-src errors caused by Nuxt Icon:
Looking at the causing code its caused by a component called "NuxtIconCss" which has a function to append something to the document head
5 replies
what is the requireJs alternative?
I have a dependency called videojs that needs global/window.
however that doesn't exist and I found an issue (https://github.com/videojs/video.js/issues/5680#issuecomment-570120497) that shows a fix but it requires requirejs.
8 replies
$fetch not working with the new shared folder properly
I have a composable in my shared folder that uses $fetch to query nitro endpoints. However for some reason it says
"/api/v1/data/agents": <no response> Failed to parse URL from /api/v1/data/agents
14 replies
Loading Icon Timed out
Hello, I have this component:
that dynamically adds topics and buttons to my page. it works fine, however when opening the page I get this:
[Icon] loading icon
heroicons:play timed out after 500ms
and the buttons don't have an icon.
What can I do to fix it?10 replies
Weird Error without stacktrace
Hello, I am trying to upload a file using google's storage library. However whenever I call the method I get this error:
ERROR [nuxt] [request error] [unhandled] [500] Cannot read private member from an object whose class did not declare it
I am following google's docs to properly upload the file and can't spot something off. Here is my code:
the 3 console.logs are being execute properly and their output is also correct.5 replies