Closed abyjohnson5 closed 3 years ago
How did you declare the select widget? If possible please attach the markup here.
"
So it works for you on https://xel-toolkit.org/elements/x-select, but not when you include the same markup on your website? Are you using some virtual DOM framework to render the views?
The code you attached is not complete, note that all <x-menuitem>
elements must be inside <x-menu>
.
Unable to set pre selected value. Toggled attribute is not working
Xel project underwent a major rewrite recently. If you can still reproduce this issue, please open a new issue.
I followed https://xel-toolkit.org/setup these steps and while using x-select with toggled there is no pre-selection is showing up. and when trying to pick one from the options console shows an error "Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of undefined at xel.min.js:11563"