Skip to content

Commit

Permalink
Revert "Fix(form):fix form parseFormValidation (#741)" (#745)
Browse files Browse the repository at this point in the history
This reverts commit 05a3096.
  • Loading branch information
capdiem authored Oct 24, 2022
1 parent 67ad0e9 commit 15e40af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/BlazorComponent
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
{
public string Name { get; set; }
}

private OrderDetail _orderDetail = new()
{
Category = new Category
{

},
Customers = new List<Customer>
{
Expand All @@ -73,9 +73,6 @@
-- Category.Name: 'Name' is required. Severity: Error
-- Customers[0].Name: 'Name' is required. Severity: Error
-- Customers[1].Age: 'Age' must be between 25 and 100. Severity: Error";

Console.WriteLine(validationResult);
Console.WriteLine("-------- step 1 -----------");
context.TryParseFormValidation(validationResult);
}
}

0 comments on commit 15e40af

Please sign in to comment.