angular-dynamic-forms icon indicating copy to clipboard operation
angular-dynamic-forms copied to clipboard

Not a problem, but a list of questions/howtos

Open lafar6502 opened this issue 10 years ago • 1 comments

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!

lafar6502 avatar Oct 16 '15 07:10 lafar6502

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.

danhunsaker avatar Oct 17 '15 03:10 danhunsaker