Commit 5d3ee68
Fix tab switching by removing field shadowing in Edit.razor.cs
The Edit component was declaring its own private fields for activeTab, errorMessage, and successMessage, which shadowed the protected fields from CustomComponentBase. This prevented SetActiveTab() from working correctly since it updated the base class field but the UI read from the local field.
Co-authored-by: StuartFerguson <16325469+StuartFerguson@users.noreply.github.com>1 parent 0b21332 commit 5d3ee68
1 file changed
Lines changed: 5 additions & 3 deletions
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments