Closed ullas1989 closed 9 months ago
@ullas1989 You will need to change the Widget Type from Choices.js to HTML 5 if you are using IE11.
@wag110894 Problem is then multi-select doesn't work with html5 dropdown option. All options just showing as part of text box and not able to select multiple option. See b elow.
@wag110894 It is a patch but I was able to write custom logic inside select form-io component do something like this for IE.
Open to better approach if available.
`var ele1 = document.getElementsByClassName("choices form-group formio-choices");
if(ele1 && ele1.length > 0) {
var ele2 = ele1[0].lastElementChild;
if(ele2) {
ele2.classList.add("choices__list--dropdown");
}
}`
@ullas1989 where is this code that you changed? Was this done in the choices.js library? If so, then we just need to create a pull request to that library.
@travist This is a custom script that was added inside form-io select component, so not really a code change, just a work around.
I can provide schema json if anyone need that.
We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.
Environment
Please provide as many details as you can:
Steps to Reproduce
Expected behavior
formio select component should work in IE as it is working in other browsers.
Observed behavior
Example
https://adoring-torvalds-b32d1a.netlify.com/ https://github.com/ullas1989/angular-formio-demo