Werk #19347: Custom graph editor: Validate unit, constant and percentile inputs
| Component | User interface | ||||
| Title | Custom graph editor: Validate unit, constant and percentile inputs | ||||
| Date | May 6, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, the Custom graph editor only validated the explicit vertical range fields. Other settings like the unit notation symbol, precision digits, constant graph line values and transformation percentile silently accepted invalid input.
Now every editable field with a numeric or required-string constraint shows an inline error as soon as you enter an invalid value, and the red "Cannot save the form because it contains errors" banner is raised on save attempts. Both clear once you correct the values, just like the explicit range editor already did.
The newly validated fields are:
- Unit notation symbol (required for non-time notations)
- Unit precision digits (must be a non-negative number)
- Constant graph line value (must be a valid number)
- Transformation percentile (must be a valid number)