bvaughn / bvaughn/angular-form-for

Dynamically change validationRules depending on submit action

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
423
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Hi!

This is a great library which I realize is not being actively maintained right now, but I opened this issue in case anyone else has figured out how to use angular-form-for in this way:

I would like to dynamically change the validationRules being passed in to the form depending on whether a user clicks one of two buttons. Is this possible? I've read the documentation and perhaps this is me not understanding, but I would really like to have some way to alter which set of validationRules gets passed in depending on a user's action. Thank you!

Contributor guide

Open the contributing guide

Research direction

Start with the angular-form-for documentation and the validationRules option mentioned in the issue. Trace how the form responds to the two submit buttons and determine whether separate validation rule sets can be selected by the submit action. The issue does not name a file or test, and completion criteria are not defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.