-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autocomplete
appearance does not work on select_multiple
(despite ODK documentation)
#1301
Comments
Now, my knowledge of the Enketo codebase is minimal (i.e. about 10 days of exposure) but it seems like the way a I don't actually think I see why this is the case... if we changed the |
Ten minutes later and it dawns on me that I didn't actually attach anything. |
Ah, and I forgot to mention that https://validate.enketo.org/ does correctly show that |
Feels right! We generally recommend the ODK forum as a good starting point for questions so that they get more visibility but also fine to keep on Github, especially if it's mostly developer-facing. Thanks so much for digging deeper! My first thought was that it could be related to a change in pyxform to always generate secondary instances for selects which revealed differences in Enketo between selects from inline and secondary instance choice lists but given what you followed up with, that's not right.
Great idea to check there. That does make it clear the docs diverged from reality for some reason. I agree with you that in an ideal world select one and select multiple would be less different. In practice, that might be a riskier and more involved change than it may first appear. If you do want to attempt it, we'd welcome a PR. |
Another quick thought -- depending on what your needs are, you could consider using a text field before your select multiple and a |
Describe the bug
autocomplete
appearance does not work onselect_multiple
.To Reproduce
Steps to reproduce the behavior. If applicable please include the smallest possible XLSForm or XForm (as zip or link).
select_one
)select_multiple
)It seems like everything in the ODK Docs (and Forum discussions) implies that autocomplete should work for
select_multiple
questions. However, I note that it is not explicitly listed anywhere on https://xlsform.org/en/... however-however, the oldsearch
appearance is listed as working for all select-type questions for Enketo here: https://xlsform.org/en/ref-table/ - try changing my MWE to search and you will see it still doesn't work.Expected behavior
Either it should work... or both ODK and XLSForm docs need clarifying.
Screenshots
Working
select_one
withautocomplete
:Not working
select_multiple
withautocomplete
:Browser and OS (please complete the following information):
Additional context
P.S. it's possible I should have put this as a docs issue to ODK / XLSForms rather than a dev issue to Enketo... happy to move it over if there's no benefit having it here but I thought this is where it was best discussed.
The text was updated successfully, but these errors were encountered: