ion icon indicating copy to clipboard operation
ion copied to clipboard

fix: add min max and disabled props to input counter

Open yuri-silva-brisa opened this issue 4 months ago • 0 comments

#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.

yuri-silva-brisa avatar Oct 02 '24 13:10 yuri-silva-brisa