Fix for upcomming lan
This commit is contained in:
parent
24e797ee35
commit
aafedc7d8c
2 changed files with 4 additions and 4 deletions
|
|
@ -20,8 +20,8 @@ public class ParticipantRegistrationRequest
|
|||
public string SurName { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
[RegularExpression(@"^([1-9]|1[1-3])$",
|
||||
ErrorMessage = "Årkurs måste vara 1–9 eller 11–13.")]
|
||||
[RegularExpression(@"^([1-9]|1[0-2])$",
|
||||
ErrorMessage = "Årkurs måste vara 1–9 eller 10–12.")]
|
||||
public string Grade { get; set; } = string.Empty;
|
||||
|
||||
public string? PhoneNumber { get; set; }
|
||||
|
|
|
|||
|
|
@ -461,9 +461,9 @@ export default function RegisterPage() {
|
|||
))}
|
||||
</optgroup>
|
||||
<optgroup label="Gymnasium">
|
||||
{["11", "12", "13"].map((g) => (
|
||||
{["10", "11", "12"].map((g) => (
|
||||
<option key={`gym${g}`} value={g}>
|
||||
Gymnasiet {g}
|
||||
Gymnasiet år {Number(g) - 9}
|
||||
</option>
|
||||
))}
|
||||
</optgroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue