You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this to test :
document.querySelector('#my-combo-box').shadowRoot.querySelector('#selection-button').style.display = "none";
But the shadowRoot need to be initialized ( and we don't have control on that ) so i could not use the document.querySelector('#my-combo-box').shadowRoot.querySelector('#selection-button').style.display = "none"; as i am not sure that the shadowRoot will be available.
The problem
Into the combo-box (https://web-components.carbondesignsystem.com/?path=/docs/components-combo-box--default), i would like an option to remove the clear icon, to force the user to select always an option.
Like into the dropbox ( but dropbox does not allow to search , so user need to scroll into the list).
The solution
I used this to test :
document.querySelector('#my-combo-box').shadowRoot.querySelector('#selection-button').style.display = "none";
But the shadowRoot need to be initialized ( and we don't have control on that ) so i could not use the document.querySelector('#my-combo-box').shadowRoot.querySelector('#selection-button').style.display = "none"; as i am not sure that the shadowRoot will be available.
Examples
No response
Application/PAL
No response
Business priority
High Priority = pressing release
Available extra resources
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: