#Form erroring when submiting??
79 messages ยท Page 1 of 1 (latest)
Are you trying to call a parse() somewhere? Show code for the form?
We would need to see the repo or a sandbox reproduction to help
am not calling parse
its the code of the action that does that
any time i use the button submit it throw this
code is oss will show
it does not throw error on prod
only annoying since there is a component that that lose reactivity when throwing the error ๐ญ
Why do you call the active.value = false both on the button and in the action?
Been there, no worries
Have you isolated the error down at all? Ie removing essentially everything except the form and the button and the action and seeing if it still throws?
yes
a <form> with a submit>
idk why its just throw this error
not even with an action
On 1.7.1?
yes
i am using a auth module
idk if change anything
but
someone said i should put the cookie thing in a special place in the vite config
tried that did not change anything
Well your error is yelling about the cookie.. so I'm assuming it's more so that than the form
should try
let me do this in a sandbox
yes
on its own
it wont throw
omg
whis is qwik.new 1.43
Yeah you just gotta update it manually ATM
Sounds like you need to look into your auth solution?
i have 2 button in my form
both of them cose this
litteraly a full page reload ๐ฆ
why does this break i feel like what i am doing is pretty simple
a form in a page behind a auth wall ?
You using qwik auth?
Nvm just looked at repo.. appears you are
Though looks like you are on the old version
i found the issue
i had exclude:cookie
I was just about to ask about that
and forgot to include auth in optimize
Yeah looks like that part of the docs was removed
when i was trying to add auth in th sandbox i saw this
The adapter i think should do it for you but the old docs said what it did as well
in the cli it show it
no i does not
it
it ask you manualy add it
Yeah not anymore
๐คทโโ๏ธ
The docs should be updated to state you need to do it if it's manual
Or linked to official qwik auth docs
You know darn well people don't read the output of the CLI
i will open a pr for it ๐
Yeah it used to be there, when they changed it to be the qwik auth it must have been removed