Skip to main content
13-Aquamarine
July 20, 2023
Question

Datalist not working (similar to select)

  • July 20, 2023
  • 1 reply
  • 4852 views

Hello,

 

at the moment the widget select is for us insufficient and this why i try to create my own dropdown widget with the html tag datalist like this: https://www.w3schools.com/tags/tag_datalist.asp

 

It works on all browsers as intended and in the preview aswell - it works even on safari - but not in Vuforia View (version 9.11).

The opend dropdown menu is missing there and the options are given as suggestion above the keyboard input. 

It seems like the Vuforia View app is not working with HTML5 or the app resolves datalist different than any browser.

 

I need that datalist because it's a huge game changer for our requirements. 

Is there an workaround or fix for this issue?

1 reply

21-Topaz I
July 25, 2023

Hi @AS_10340651, is there a target platform where you want to use this functionality.  I believe is clear that it is a  mobile project  (but  Android or IOS (Ipad ,iPhone)) or both?

I never test the mentioned functionality in Vuforia Studio:

2023-07-25_10-25-15.jpg

Where you did try to use it  - in which widget (tmlText, popup). So such  elements are platform specific at least if they are used inside the Studio and therefore the best option is to use widget because working on all platform are guarantied . Why we can not use here the select widget instead. Possibly you can later adapt the select widget appearance using some CSS styles. 

Possibly it will be a good idea if  you provide an project example (simples one you tried) where we can see, test what is working and what is not working in the different enviroment to understand the problem? 

Thanks ! BR

13-Aquamarine
July 25, 2023

Oh yeah, forgot to mention that i create my own Widgets since the basic widgets are limited and dont provide the basics we need at our company such as the function on datalist. We need to be able to have an input with custom text and aswell a selection as recommendation.

 

Datalist works on safari but not at Vuforia View. The entries will be only above the keyboard as suggestion and not as a dropdown.

21-Topaz I
July 25, 2023

So tested with simple widget extension and have in preview:

2023-07-25_16-42-15.jpg

on mobile it was working only partially:

image2.jpg

so was able to select the data list and to input data via  the mobile virtual keyboard but I was not able to see the List Elements or to search. So I hope  that this the issue  what you wanted to report. If not then, please, let me know.

Reported it  to R&D as Jira Ticket VTS-1623 and if there is some feedback on it I will report it here further or somebody form R&D will provide here a feedback.   Thanks.