Initial support for masking

This commit is contained in:
TheXamlGuy
2024-06-06 23:01:23 +01:00
parent c8474e31c2
commit 05a6cd4540
16 changed files with 41 additions and 29 deletions
+10 -3
View File
@@ -98,18 +98,25 @@ public record ItemConfiguration
new DropdownEntryConfiguration
{
Label = "Type",
Values = ["American Express", "Discover", "Maestro", "Mastercard", "Visa"],
},
new MaskedTextEntryConfiguration
{
Label = "Card number"
Label = "Card number",
Pattern = "0000-0000-0000-0000",
Value = "____-____-____-____",
},
new MaskedTextEntryConfiguration
{
Label = "Expiry date"
Label = "Expiry date",
Pattern = "00/00",
Value = "__/__",
},
new MaskedTextEntryConfiguration
{
Label = "Card verification code"
Label = "Card verification code",
Pattern = "000",
Value = "___",
},
}
}