File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/entities/entities-plugins
src/components/free-form/shared Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010 :config =" konnectConfig"
1111 enable-redis-partial
1212 enable-vault-secret-picker
13+ :engine =" forceFreeForm ? 'freeform' : 'vfg'"
1314 :plugin-id =" id"
1415 :plugin-type =" plugin"
1516 use-custom-names-for-plugin
2223 :config =" kongManagerConfig"
2324 enable-redis-partial
2425 enable-vault-secret-picker
26+ :engine =" forceFreeForm ? 'freeform' : 'vfg'"
2527 :plugin-id =" id"
2628 :plugin-type =" plugin"
2729 @global-action =" handleGlobalAction"
@@ -41,6 +43,7 @@ import { ToastManager } from '@kong/kongponents'
4143import type { GlobalAction } from ' ../../src/components/free-form/shared/types'
4244
4345const toaster = new ToastManager ()
46+ const forceFreeForm = true
4447provide (FEATURE_FLAGS .DATAKIT_ENABLE_FLOW_EDITOR , true )
4548provide (FEATURE_FLAGS .DATAKIT_M2 , true )
4649
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ function useDisabledFieldsManager(onChange?: () => void) {
762762 function isAncestorDisabled ( path : string ) : boolean {
763763 const generalizedPath = generalizePath ( path )
764764 for ( const disabledPath of disabledFields . value ) {
765- if ( generalizedPath !== disabledPath && generalizedPath . startsWith ( disabledPath ) ) {
765+ if ( generalizedPath . startsWith ( disabledPath + utils . separator ) ) {
766766 return true
767767 }
768768 }
You can’t perform that action at this time.
0 commit comments