Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Feature Request: Add a max character/digit limit on the Input component #994

Open

Description

@TashaStenner

Is there any work being done on restricting the number of characters or digits being entered?

For example: restricting the user to input 0-99 and 2 decimal places.

At the minute you are able to add either the step or the pattern attribute to the input which will make the input invalid and give's the user a helpful tooltip. However, this doesn't restrict the user's input at all.

Could you add a feature/attribute that would stop a user from entering more than _n decimal places/ _n character's.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions