mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
fix(edge): fix frontend issues with omitempty EE-6260 (#10536)
This commit is contained in:
parent
824706e4e9
commit
ee80e3d252
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ import { FormValues } from './types';
|
||||||
export function validationSchema(): SchemaOf<FormValues> {
|
export function validationSchema(): SchemaOf<FormValues> {
|
||||||
return object()
|
return object()
|
||||||
.shape({
|
.shape({
|
||||||
EnableEdgeComputeFeatures: boolean().required('This field is required.'),
|
EnableEdgeComputeFeatures: boolean().default(false),
|
||||||
EnforceEdgeID: boolean().required('This field is required.'),
|
EnforceEdgeID: boolean().default(false),
|
||||||
})
|
})
|
||||||
.concat(
|
.concat(
|
||||||
isBE
|
isBE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue