When TextFieldType::Number components are optional, they will validate a blank input as false. This is simply because an empty string is not a valid number. There needs to be a separate gate that determines when to validate this field. It likely occurs for email fields as well.
When `TextFieldType::Number` components are optional, they will validate a blank input as false. This is simply because an empty string is not a valid number. There needs to be a separate gate that determines when to validate this field. It likely occurs for email fields as well.
I believe that using decimals in these number inputs also does not validate properly, specifically because the validation only checks for i32 values. This should also be fixed as a part of this issue.
I believe that using decimals in these number inputs also does not validate properly, specifically because the validation only checks for `i32` values. This should also be fixed as a part of this issue.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When
TextFieldType::Numbercomponents are optional, they will validate a blank input as false. This is simply because an empty string is not a valid number. There needs to be a separate gate that determines when to validate this field. It likely occurs for email fields as well.I believe that using decimals in these number inputs also does not validate properly, specifically because the validation only checks for
i32values. This should also be fixed as a part of this issue.I should also mention that number inputs should accept decimals at all - right now, they block the decimal point from being added while typing.