Tuesday, 2 April 2019

advanced custom validator for template driven form with dynamic input

STACKBLITZ

  • killerString needs a number on first position
  • string1 + string2 + killerstring need a combined length less than 15 (for e.g)
  • I tried to "copy/ adapt" the pattern validator from angular sources.

How can I have a customValidator that a "dynamic data" information attached. There is no "hook" in input where I can attach my "dynamic data"

Do you have any suggestions?



from advanced custom validator for template driven form with dynamic input

No comments:

Post a Comment