Skip to content

[Backport release-1.0] [dashboard] fix: allow clearing instanceType and preserve secret copy newlines#2137

Merged
kvaps merged 3 commits intorelease-1.0from
backport-2135-to-release-1.0
Mar 2, 2026
Merged

[Backport release-1.0] [dashboard] fix: allow clearing instanceType and preserve secret copy newlines#2137
kvaps merged 3 commits intorelease-1.0from
backport-2135-to-release-1.0

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Mar 2, 2026

Description

Backport of #2135 to release-1.0.

sircthulhu and others added 3 commits March 2, 2026 18:27
Update openapi-k8s-toolkit to release/1.4.0 (d6b9e4ad). The previous
value-binding layout refactor is already included upstream, so drop the
formlistinput-value-binding.diff patch.

Add formlistinput-allow-empty.diff patch which introduces two props to
the listInput component:
- allowEmpty: when set, auto-persists the field so BFF sends an empty
  value instead of falling back to the schema default
- persistType: controls the type of empty value ('str' | 'number' | 'arr'
  | 'obj'), allowing the feature to work correctly for any field type

Set allowEmpty: true on the VMInstance instanceType field so users can
explicitly clear the selection and override the default instance type.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Kirill Ilin <[email protected]>
(cherry picked from commit a3ccb4f)
… toolkit

Update openapi-k8s-toolkit commit to d6b9e4ad (release/1.4.0) which
includes the FormListInput layout refactor, making formlistinput-value-binding.diff
obsolete.

Set allowEmpty: true on the VMInstance instanceType field so users can
explicitly clear the selection and override the default instance type.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Kirill Ilin <[email protected]>
(cherry picked from commit 6e8ce65)
Add onCopy handler to SecretBase64Plain inputs to intercept native browser
copy events and explicitly write the full decoded text (including newlines)
to the clipboard. Without this, input[type=text] strips newlines on copy.

Upstream PR: PRO-Robotech/openapi-k8s-toolkit#339

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Kirill Ilin <[email protected]>
(cherry picked from commit 99ee0e3)
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Mar 2, 2026
@kvaps kvaps merged commit f06817d into release-1.0 Mar 2, 2026
5 checks passed
@kvaps kvaps deleted the backport-2135-to-release-1.0 branch March 2, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants