mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix input cursor moving to the end on edit (#10959)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
This commit is contained in:
parent
211fff5ed4
commit
7a04d1d4ea
1 changed files with 25 additions and 10 deletions
|
@ -134,8 +134,11 @@ export const ngModule = angular
|
|||
.component(
|
||||
'kubeStackName',
|
||||
r2a(
|
||||
withUIRouter(
|
||||
withReactQuery(withCurrentUser(withControlledInput(StackName)))
|
||||
withControlledInput(
|
||||
withUIRouter(
|
||||
withReactQuery(withCurrentUser(withControlledInput(StackName)))
|
||||
),
|
||||
{ stackName: 'setStackName' }
|
||||
),
|
||||
['setStackName', 'stackName', 'stacks', 'inputClassName']
|
||||
)
|
||||
|
@ -218,7 +221,9 @@ withFormValidation(
|
|||
|
||||
withFormValidation(
|
||||
ngModule,
|
||||
withControlledInput(EnvironmentVariablesFieldset),
|
||||
withControlledInput(withControlledInput(EnvironmentVariablesFieldset), {
|
||||
values: 'onChange',
|
||||
}),
|
||||
'kubeEnvironmentVariablesFieldset',
|
||||
['canUndoDelete'],
|
||||
// use kubeEnvVarValidationSchema instead of envVarValidation to add a regex matches rule
|
||||
|
@ -228,7 +233,8 @@ withFormValidation(
|
|||
withFormValidation(
|
||||
ngModule,
|
||||
withControlledInput(
|
||||
withUIRouter(withCurrentUser(withReactQuery(ConfigMapsFormSection)))
|
||||
withUIRouter(withCurrentUser(withReactQuery(ConfigMapsFormSection))),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'configMapsFormSection',
|
||||
['values', 'onChange', 'namespace'],
|
||||
|
@ -238,7 +244,8 @@ withFormValidation(
|
|||
withFormValidation(
|
||||
ngModule,
|
||||
withControlledInput(
|
||||
withUIRouter(withCurrentUser(withReactQuery(SecretsFormSection)))
|
||||
withUIRouter(withCurrentUser(withReactQuery(SecretsFormSection))),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'secretsFormSection',
|
||||
['values', 'onChange', 'namespace'],
|
||||
|
@ -247,7 +254,10 @@ withFormValidation(
|
|||
|
||||
withFormValidation(
|
||||
ngModule,
|
||||
withUIRouter(withCurrentUser(withReactQuery(PersistedFoldersFormSection))),
|
||||
withControlledInput(
|
||||
withUIRouter(withCurrentUser(withReactQuery(PersistedFoldersFormSection))),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'persistedFoldersFormSection',
|
||||
[
|
||||
'isEdit',
|
||||
|
@ -264,7 +274,8 @@ withFormValidation(
|
|||
withControlledInput(
|
||||
withUIRouter(
|
||||
withCurrentUser(withReactQuery(ResourceReservationFormSection))
|
||||
)
|
||||
),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'resourceReservationFormSection',
|
||||
[
|
||||
|
@ -279,7 +290,8 @@ withFormValidation(
|
|||
withFormValidation(
|
||||
ngModule,
|
||||
withControlledInput(
|
||||
withUIRouter(withCurrentUser(withReactQuery(ReplicationFormSection)))
|
||||
withUIRouter(withCurrentUser(withReactQuery(ReplicationFormSection))),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'replicationFormSection',
|
||||
[
|
||||
|
@ -294,7 +306,8 @@ withFormValidation(
|
|||
withFormValidation(
|
||||
ngModule,
|
||||
withControlledInput(
|
||||
withUIRouter(withCurrentUser(withReactQuery(AutoScalingFormSection)))
|
||||
withUIRouter(withCurrentUser(withReactQuery(AutoScalingFormSection))),
|
||||
{ values: 'onChange' }
|
||||
),
|
||||
'autoScalingFormSection',
|
||||
['isMetricsEnabled'],
|
||||
|
@ -311,7 +324,9 @@ withFormValidation(
|
|||
|
||||
withFormValidation(
|
||||
ngModule,
|
||||
withUIRouter(withCurrentUser(NamespaceSelector)),
|
||||
withControlledInput(withUIRouter(withCurrentUser(NamespaceSelector)), {
|
||||
values: 'onChange',
|
||||
}),
|
||||
'namespaceSelector',
|
||||
['isEdit'],
|
||||
namespaceSelectorValidation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue