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

pull/10538/head
andres-portainer 1 year ago committed by GitHub
parent 824706e4e9
commit ee80e3d252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save