1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-03 12:55:23 +02:00

fix(edge): fix frontend issues with omitempty EE-6260 (#10536)

This commit is contained in:
andres-portainer 2023-10-25 15:51:39 -03:00 committed by GitHub
parent 824706e4e9
commit ee80e3d252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,8 @@ import { FormValues } from './types';
export function validationSchema(): SchemaOf<FormValues> {
return object()
.shape({
EnableEdgeComputeFeatures: boolean().required('This field is required.'),
EnforceEdgeID: boolean().required('This field is required.'),
EnableEdgeComputeFeatures: boolean().default(false),
EnforceEdgeID: boolean().default(false),
})
.concat(
isBE