Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Allow float-point numbers without decimal places in FloatValidator #3824

Open
wants to merge 1 commit into
base: 9.0
Choose a base branch
from

Commits on Jul 4, 2024

  1. FIX: Allow float-point numbers without decimal places in FloatValidator

    The current implementation of the floatValidator uses parseFloat, which strips decimal point and places if a whole number (eg. .0) is provided. This then causes the regex validation to fail because it always assumes there to be a decimal point and following decimal places. 
    
    This change makes the decimal places in the regex-validation optional.
    c4ll-m3-j4ck authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e92c69b View commit details
    Browse the repository at this point in the history