]> git.localhorst.tv Git - alttp.git/commitdiff
fix round form schema
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2022 08:40:32 +0000 (09:40 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2022 08:40:32 +0000 (09:40 +0100)
resources/js/components/rounds/EditForm.js

index 6472c842a27a28298a13298f2bb5ece02b7bf44a..623e1fb4bb4d8c1c6e29739181bf3e44aab83d65 100644 (file)
@@ -165,7 +165,7 @@ export default withFormik({
        }),
        validationSchema: yup.object().shape({
                code: yup.array().of(yup.string()),
-               rolled_by: yup.string(),
+               rolled_by: yup.string().nullable(),
                seed: yup.string().url(),
                title: yup.string(),
        }),