mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(code): revert omitempty optimization EE-6269 (#10548)
This commit is contained in:
parent
f10356641a
commit
247f358b94
5 changed files with 205 additions and 123 deletions
|
@ -9,8 +9,8 @@ import { FormValues } from './types';
|
|||
export function validationSchema(): SchemaOf<FormValues> {
|
||||
return object()
|
||||
.shape({
|
||||
EnableEdgeComputeFeatures: boolean().default(false),
|
||||
EnforceEdgeID: boolean().default(false),
|
||||
EnableEdgeComputeFeatures: boolean().required('This field is required.'),
|
||||
EnforceEdgeID: boolean().required('This field is required.'),
|
||||
})
|
||||
.concat(
|
||||
isBE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue