Closed mrsideshowjack closed 4 years ago
I think it's because when the internalValue
is set it updates the innerHTML of the ref valueContent
, when it's inline the valueContent
ref has the icon as a child so it gets overwritten.
I can submit a PR to fix
Detailed description
Given the dropdown is set to
inline
After a option has been chosen from the dropdown, the caret icon disappearsBug
cv-dropdown
The caret icon to the left of the text is expected to remain after a selection has been made, see https://www.carbondesignsystem.com/components/dropdown/code
Chrome Version 77.0.3865.90
Latest / Storybook
PartnerWorld/none
Steps to reproduce the issue
cv-dropdown
in storybook http://vue.carbondesignsystem.com/?path=/story/components-cvdropdown--defaultinline
knobAdditional information
Screencap: