Closed jasquat closed 3 weeks ago
spiffworkflow-frontend/src/components/CustomForm.tsx (1)
`265-265`: Simplify error message for invalid numeric range. The change to a more generic error message for invalid numeric ranges is a good simplification. This should make the error handling more flexible and applicable to various scenarios.
This adds an infinity symbol is either min or max number is specified for a numeric range field but the other is not. This is an easy way to fix the layout issue mentioned in https://github.com/sartography/spiff-arena/issues/647#issuecomment-2071652688.
Summary by CodeRabbit
CustomForm
for invalid numeric values.NumericRangeField
to handle undefined minimum or maximum values, displaying '-∞' for min and '∞' for max when values are not set.