Hurry Up, Ends March 14!
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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 07, 2025, 04:57