fix swiss form

pull/7489/head
Thibault Duplessis 2020-10-20 12:18:59 +02:00
parent 046bdca05e
commit 1610fb85d9
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ final class SwissForm(implicit mode: Mode) {
def form(minRounds: Int = 3) =
Form(
mapping(
"name" -> optional(eventName(2, 3)),
"name" -> optional(eventName(2, 30)),
"clock" -> mapping(
"limit" -> number.verifying(clockLimits.contains _),
"increment" -> number(min = 0, max = 600)