You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add validation to block negative or zero intervals for the flag inputs. Currently, users can set intervals to zero, which may not be a desirable option. We should define the lowest value that users can set and ensure that intervals are within acceptable ranges.
Proposed Solution
Add validation checks to ensure that intervals are not negative or zero.
Define the lowest acceptable value for intervals and enforce this limit.
Users should not be able to set intervals to negative or zero values. The system should validate input intervals and reject values that do not meet the defined criteria.
Additional Context
This enhancement will help improve the reliability and usability of the flag inputs by ensuring that intervals are set to valid and meaningful values.
The text was updated successfully, but these errors were encountered:
Description
We need to add validation to block negative or zero intervals for the flag inputs. Currently, users can set intervals to zero, which may not be a desirable option. We should define the lowest value that users can set and ensure that intervals are within acceptable ranges.
Proposed Solution
The https://pkg.go.dev/github.com/go-playground/validator/v10 library can be considered for this use case.
Expected Behavior
Users should not be able to set intervals to negative or zero values. The system should validate input intervals and reject values that do not meet the defined criteria.
Additional Context
This enhancement will help improve the reliability and usability of the flag inputs by ensuring that intervals are set to valid and meaningful values.
The text was updated successfully, but these errors were encountered: