[8.12] [Search] Fix multiple radio buttons conflicting in connector config (#176795) (#176809)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Search] Fix multiple radio buttons conflicting in connector config
(#176795)](https://github.com/elastic/kibana/pull/176795)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-02-13T10:57:32Z","message":"[Search]
Fix multiple radio buttons conflicting in connector config
(#176795)\n\n## Summary\r\n\r\nThis fixes an issue where multiple radio
groups in a single connector\r\nconfig would conflict leading to UI
glitches.","sha":"8477b6b8bc0f9a2b32e6650a8064d7b3cd461e9b","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.12.2","v8.14.0"],"title":"[Search]
Fix multiple radio buttons conflicting in connector
config","number":176795,"url":"https://github.com/elastic/kibana/pull/176795","mergeCommit":{"message":"[Search]
Fix multiple radio buttons conflicting in connector config
(#176795)\n\n## Summary\r\n\r\nThis fixes an issue where multiple radio
groups in a single connector\r\nconfig would conflict leading to UI
glitches.","sha":"8477b6b8bc0f9a2b32e6650a8064d7b3cd461e9b"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.14"],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176795","number":176795,"mergeCommit":{"message":"[Search]
Fix multiple radio buttons conflicting in connector config
(#176795)\n\n## Summary\r\n\r\nThis fixes an issue where multiple radio
groups in a single connector\r\nconfig would conflict leading to UI
glitches.","sha":"8477b6b8bc0f9a2b32e6650a8064d7b3cd461e9b"}},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2024-02-13 07:21:30 -05:00 committed by GitHub
parent 111062883f
commit 625fb5df67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ export const ConnectorConfigurationField: React.FC<ConnectorConfigurationFieldPr
<EuiRadioGroup
disabled={isLoading}
idSelected={ensureStringType(value)}
name="radio group"
name={key}
options={options.map((option) => ({ id: option.value, label: option.label }))}
onChange={(id) => {
validateAndSetConfigValue(id);