Closed aloky closed 16 hours ago
I'm guessing this related to your loading state, inputs are disabled while the form is loading. Do you mind sharing your submit
function?
You should be able to use loading-auto
on the button component to handle it automatically.
https://ui3.nuxt.dev/components/button#loading
@romhml Thank you, I found out why it was like that, it turns out I didn't write it catch
.
wrong
try {}
finally {}
correct
try {}
catch {}
finally {}
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0-alpha.8
Reproduction
Description
Why if get error from backend
UForm
set all inputs attr disabled?Additional context
No response
Logs