Skip to content

CanValueBeNull with RegexPattern not working(?) #66

@XavrasX

Description

@XavrasX

Hi.
I've tried to bind decimal? to DecimalBox, but with any RegexPattern there is validation error. While there's no pattern removig value from decimalbox don't causes errors. I tried different patterns and didn't find solution.
My example:

 xmlns:numeric="http://gu.se/NumericInput"

 <numeric:DecimalBox
        NumberStyles="AllowDecimalPoint"
       CanValueBeNull="True"
       RegexPattern="(^$)|(^\d{4})"
 />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions