mirror of https://github.com/portainer/portainer
fix(edge): fix frontend issues with omitempty EE-6260 (#10536)
parent
824706e4e9
commit
ee80e3d252
|
@ -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…
Reference in New Issue