Skip to content

CanValueBeNull with RegexPattern not working(?) #66

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})"
 />

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