Centralize Form Validation Rules into a composable

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Domain
frontend

Research direction

Start by locating the form components that repeat rules such as required-field validation, then review how their validation is currently applied. Create the shared composable around the existing rules and verify that the affected forms retain their current validation behavior without duplicated rules.

Written by the indexing model from the issue text.

Description

💡Suggestion refactor

Right now, the same form rules (like required fields ...) are repeated in many different components. I want to move all these rules into a single composable.

Dominant language
Vue
Stars
0
Forks
0
Avg merge
14m
Merged PRs (30d)
8

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClockGU/clock-work-frontend

All issues in ClockGU/clock-work-frontend

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.