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
Add a new max-length property to the input component.
Currently, the input component allows users to set the size attribute, which adjusts the width of the input field visually. However, it does not enforce a character limit.
We want to introduce a new max-length property for the input component to enable users to specify the maximum number of characters allowed. When the max-length is set, the component should display a character count below the input field, similar to the behavior of the textarea component. This will help users understand the available character limit as they type.
Summary:
Add a new
max-length
property to the input component.Currently, the input component allows users to set the
size
attribute, which adjusts the width of the input field visually. However, it does not enforce a character limit.We want to introduce a new
max-length
property for the input component to enable users to specify the maximum number of characters allowed. When the max-length is set, the component should display a character count below the input field, similar to the behavior of the textarea component. This will help users understand the available character limit as they type.This feature was requested by a user.
✅ Definition of Done / Outcomes
Acceptance criteria:
Deliverables:
The text was updated successfully, but these errors were encountered: