add validations to validator when creating new (#19872)

This commit is contained in:
Erik Jan de Wit 2023-04-21 14:29:06 +02:00 committed by GitHub
parent a7153af7b0
commit 04301422d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,6 +217,7 @@ export default function NewAttributeSettings() {
selector: profileConfig.selector, selector: profileConfig.selector,
permissions: profileConfig.permissions!, permissions: profileConfig.permissions!,
annotations, annotations,
validations,
}, },
profileConfig.isRequired profileConfig.isRequired
? { required: profileConfig.required } ? { required: profileConfig.required }