|
6 | 6 | @_message |
7 | 7 | <BSValidationSummary /> |
8 | 8 | </BSCol> |
9 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
10 | | - <BSLabel>Int Test</BSLabel> |
11 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestInt" ValidateOnInput="true" /> |
12 | | - <BSFeedback For="@(() => Modal.TestInt)" /> |
13 | | - </BSCol> |
14 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
15 | | - <BSLabel>Long Test</BSLabel> |
16 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestLong" ValidateOnInput="true" /> |
17 | | - <BSFeedback For="@(() => Modal.TestLong)" /> |
18 | | - </BSCol> |
19 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
20 | | - <BSLabel>Float Test</BSLabel> |
21 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestFloat" ValidateOnInput="true" /> |
22 | | - <BSFeedback For="@(() => Modal.TestFloat)" /> |
23 | | - </BSCol> |
24 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
25 | | - <BSLabel>Double Test</BSLabel> |
26 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestDouble" ValidateOnInput="true" /> |
27 | | - <BSFeedback For="@(() => Modal.TestDouble)" /> |
28 | | - </BSCol> |
29 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
30 | | - <BSLabel>Double Test</BSLabel> |
31 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestDecimal" ValidateOnInput="true" /> |
32 | | - <BSFeedback For="@(() => Modal.TestDecimal)" /> |
33 | | - </BSCol> |
34 | | - <BSCol Position="Position.Relative" ColumnMedium="4"> |
35 | | - <BSLabel>Int Test</BSLabel> |
36 | | - <BSInput InputType="InputType.Text" @bind-Value="Modal.TestInt" ValidateOnInput="true" /> |
37 | | - <BSFeedback For="@(() => Modal.TestInt)" aValidMessage="First name looks good." /> |
38 | | - </BSCol> |
39 | 9 | <BSCol Position="Position.Relative" ColumnMedium="4"> |
40 | 10 | <BSLabel>First name</BSLabel> |
41 | 11 | <BSInput InputType="InputType.Text" @bind-Value="Modal.FirstName" ValidateOnInput="true" /> |
|
87 | 57 | } |
88 | 58 | public class EmployeeModal |
89 | 59 | { |
90 | | - public int TestInt { get; set; } |
91 | | - public long TestLong { get; set; } |
92 | | - public double TestDouble { get; set; } |
93 | | - public float TestFloat { get; set; } |
94 | | - public decimal TestDecimal { get; set; } |
95 | 60 | [Required(ErrorMessage = "Employee's First name must be provided.")] |
96 | 61 | public string? FirstName { get; set; } |
97 | 62 |
|
|
0 commit comments