mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix: [Search:AppSearch:Engines page]Incorrect total number of options announced for Join our user research... combo box (#200567)
Closes: #200542 ## Description Visible total number of options should the same as announced for the user as not to confuse them. Especially for the users using assistive technologies. ## What was changed: 1. `EuiSelect`.`hasNoInitialSelection` attribute should be set to true only in case of no default value.
This commit is contained in:
parent
90a9565ede
commit
c145ba1bbc
2 changed files with 3 additions and 2 deletions
|
@ -554,7 +554,7 @@ export const AppSearchGate: React.FC = () => {
|
|||
)}
|
||||
>
|
||||
<EuiSelect
|
||||
hasNoInitialSelection
|
||||
hasNoInitialSelection={participateInUXLabs === null}
|
||||
options={[
|
||||
{
|
||||
text: i18n.translate(
|
||||
|
|
|
@ -645,7 +645,8 @@ export const WorkplaceSearchGate: React.FC = () => {
|
|||
)}
|
||||
>
|
||||
<EuiSelect
|
||||
hasNoInitialSelection
|
||||
data-test-subj="enterpriseSearchWorkplaceSearchGateSelect"
|
||||
hasNoInitialSelection={participateInUXLabs === null}
|
||||
options={[
|
||||
{
|
||||
text: i18n.translate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue