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

maskSettings load incorrectly if maskType is defined in the bottom in JSON #8624

Closed
andrewtelnov opened this issue Jul 29, 2024 · 0 comments
Closed
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@andrewtelnov
Copy link
Member

The following JSON loaded incorrectly because on loading maskSettings the mask instance is not a pattern mask yet.

{
    elements: [
      {
        maskSettings: {
          pattern: "999-99-999999",
          saveMaskedValue: true,
        },
        maskType: "pattern",
        name: "q1",
        type: "text"
      },
    ]
  }
@andrewtelnov andrewtelnov added bug user issue An issue or bug reported by users labels Jul 29, 2024
@andrewtelnov andrewtelnov self-assigned this Jul 29, 2024
andrewtelnov added a commit that referenced this issue Jul 29, 2024
@OlgaLarina OlgaLarina added this to the v1.11.9 milestone Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

2 participants