regex fix

This commit is contained in:
Adam 2024-07-08 19:58:02 +02:00
parent 5921bd0f6c
commit 8a0b370dd7
3 changed files with 6 additions and 6 deletions

View File

@ -243,8 +243,8 @@ namespace TIAMSharedUI.Pages.Components
{ {
editor.OpenComponent<DxMaskedInput<string>>(j++); editor.OpenComponent<DxMaskedInput<string>>(j++);
editor.AddAttribute(j++, "Value", property.GetValue(Data)); editor.AddAttribute(j++, "Value", property.GetValue(Data));
editor.AddAttribute(j++, "Mask", AcRegExpression.EmailMask);
editor.AddAttribute(j++, "MaskMode", MaskMode.RegEx); editor.AddAttribute(j++, "MaskMode", MaskMode.RegEx);
editor.AddAttribute(j++, "Mask", AcRegExpression.EmailMask);
editor.AddAttribute(j++, "BindValueMode", BindValueMode.OnInput); editor.AddAttribute(j++, "BindValueMode", BindValueMode.OnInput);
//MaskAutoCompleteMode="@((MaskAutoCompleteMode)AutoCompleteMode)" //MaskAutoCompleteMode="@((MaskAutoCompleteMode)AutoCompleteMode)"

View File

@ -130,7 +130,8 @@
"UserProductMappingId", "UserProductMappingId",
"UserProductToCarId", "UserProductToCarId",
"ReferralId", "ReferralId",
"Price" "Price",
"Revenue"
}; };
/*protected override void OnAfterRender(bool isFirst) /*protected override void OnAfterRender(bool isFirst)

View File

@ -25,7 +25,7 @@ namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels
LastName = obj.LastName, LastName = obj.LastName,
PhoneNumber = obj.PhoneNumber, PhoneNumber = obj.PhoneNumber,
EmailAddress = obj.EmailAddress, EmailAddress = obj.EmailAddress,
Price = obj.Price, Price = obj.Price
}; };
} }
@ -45,12 +45,11 @@ namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels
LastName = obj.LastName, LastName = obj.LastName,
ContactPhone = obj.PhoneNumber, ContactPhone = obj.PhoneNumber,
ContactEmail = obj.EmailAddress, ContactEmail = obj.EmailAddress,
Price = obj.Price, Price = obj.Price,
LuggageCount = Convert.ToByte(obj.NumberOfLuggage), LuggageCount = Convert.ToByte(obj.NumberOfLuggage),
//UserProductMappingId = Guid.NewGuid(), //UserProductMappingId = Guid.NewGuid(),
TransferStatusType = TIAM.Core.Enums.TransferStatusType.OrderSubmitted, TransferStatusType = TIAM.Core.Enums.TransferStatusType.OrderSubmitted,
Comment = "Transfer order", Comment = "Transfer order"
}; };
return transfer; return transfer;