Skip to content

MaxLength excluding sign and decimal symbol #608

@nvkfr

Description

@nvkfr

Hi @Mottie,

I'm looking to set a maxLength excluding the decimal symbol and the negative sign. An example of what I'm trying to do :

maxLength = 4;
input = -ii.dd => works

There are 6 characters but I need to have a way to only track numbers (in this case, 4 numbers). Is there currently a way to do this ?

On a side note, because I will probably be asked to do this, is there a way to limit the number of characters after the decimal symbol ?

Appreciate your help with this. Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions