Allow using default form behavour in UForm
Open
Beginner friendly
Nobody has claimed this yet.
triage
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Package
v4.x
Description
Currently UForm uses @submit.prevent for it's wrapper. This prevents form from being submitted with action+method props after validation is done.
Better use explicit event.preventDefault() or add a prop that disables .prevent
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the UForm component and reviewing its submit handling. Verify how validation interacts with forms using action and method props, then confirm that the default submission behavior can be preserved without breaking validated submissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100