Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a problem, but a list of questions/howtos #57

Open
lafar6502 opened this issue Oct 16, 2015 · 1 comment
Open

Not a problem, but a list of questions/howtos #57

lafar6502 opened this issue Oct 16, 2015 · 1 comment

Comments

@lafar6502
Copy link

I'd like to ask you about supporting these things (yes/no and if yes, how to approach that)?

  1. Field dependencies
  • show/hide field depending on other field values
  • make field required or optional, depending on other values
  • show/hide entire form sections dynamically
  • change list of available select options depending on other values
  • Custom validation
    provide custom validation rules that would take multiple field values into consideration

Thanks!

@danhunsaker
Copy link
Owner

All of those features are handled by Angular already, so rather than reinventing the wheel, I simply have Angular handle them as usual. The README references the Angular docs often (via hyperlinks) for exactly that reason. And you can always use the attributes property in your JSON to specify other attributes to apply directly to the tag, which will then be handled by Angular as usual as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants