Skip to content

Commit ab7f088

Browse files
authored
Update Blazor forms enum in example code (#20316)
1 parent ff84a4a commit ab7f088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/blazor/forms-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ public Engine? Engine { get; set; } = null;
789789
Add the following `enums` to the app. Create a new file to hold the `enums` or add the `enums` to the `Starship.cs` file. Make the `enums` accessible to the `Starship` model and the *Starfleet Starship Database* form:
790790

791791
```csharp
792-
public enum Manufacturer { SpaceX, NASA, ULA, Virgin, Unknown }
792+
public enum Manufacturer { SpaceX, NASA, ULA, VirginGalactic, Unknown }
793793
public enum Color { ImperialRed, SpacecruiserGreen, StarshipBlue, VoyagerOrange }
794794
public enum Engine { Ion, Plasma, Fusion, Warp }
795795
```

0 commit comments

Comments
 (0)