Skip to content

Return current state of form (isValid, isDirty, isTouched) in useVorm #14

@Flo0806

Description

@Flo0806

What problem does this feature solve?

We should have flags from useVorm like

  • isValid
  • isDirty
  • isTouched
    to handle forms and disabled state (e.g of buttons) more easier.

Describe the solution you'd like

return isValid, isDirty and isTouched from the useVorm composable.

Describe alternatives you've considered

No response

Additional information

  • I'm willing to open a PR to implement this feature
  • This feature could potentially be a separate package/plugin

Checklist

  • I have checked existing issues and discussions to make sure this hasn't been proposed before
  • I believe this feature aligns with Vorm's goals as a form library

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions