Date formatter for an input field which formats the given numbers in MM/DD/YYYY format which also accepts NA letters in Angular

I have a requirement where a user should enter date in "MM/DD/YYYY" if available or else should be able to enter "NA" in the input field. Here is the stackblitz link where I am trying to achieve this functionality.

[Formatter not Validation Regex]

Note: User should be able to enter numbers or only N and A in NA sequence in the input field. Date validation is not required but the formatted numbers should be in this way ../../…. OR NA.

40 thoughts on “Date formatter for an input field which formats the given numbers in MM/DD/YYYY format which also accepts NA letters in Angular”

  1. 207757 852565Spot on with this write-up, I genuinely suppose this website needs much far more consideration. probably be once far more to learn way far more, thanks for that information. 802505

    Reply
  2. 274237 446700Most heavy duty trailer hitches are created employing cutting edge computer aided models and fatigue stress testing to ensure optimal strength. Share new discoveries along with your child and maintain your child safe by purchasing the correct style for your lifestyle by following the Perfect Stroller Buyers Guideline. 511673

    Reply