Starts in:
1 DAY
23 HRS
28 MIN
7 SEC
Starts in:
1 D
23 H
28 M
7 S
Open Closed

Angular Reactive Form Min/Max Validation #2156


User avatar
0
paul.harriman created
  • ABP Framework version: v4.4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

In a reactive form add a input html element with validation of required, min, max. Serve and then enter a number greater than max or less than min. notice the error message

this.form = this.fb.group({
  isEnabled: [isEnabled, Validators.required],
  environments: [environments],
  runOnceDay: [runOnceDay],
  startTime: [startTime],
  endTime: [endTime],
  alertFrequency: [alertFrequency, [Validators.min(1), Validators.max(24)]],
});


1 Answer(s)
  • User Avatar
    0
    bunyamin created

    Hello,

    Thank you for reporting this bug. I've created an internal issue to track this down.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06