ion
ion copied to clipboard
fix: add min max and disabled props to input counter
#1153
Description
Adds the min, max and disabled functionalities to the InputCounter component to resolve issue #1153
Proposed Changes
- Modified the InputCounter component to accept and handle min, max, and disabled props.
- Added validation logic to restrict input values based on the min and max props.
- Updated the rendering logic to disable the input when the disabled prop is set.
Compliance
- [x] I have verified that this change complies with our code and contribution policies.
- [x] I have verified that this change does not cause regressions and does not affect other parts of the code.