Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hello,
I have a use case where I want to use the auto complete widget.
However when implemented, it seems to not work correctly, or at least not all the time.
The following is a search I've made setting the "MinimumLength" property to 1:
As you can see, I get some values.
But as soon as I add one more character, I get no results:
This doesn't always happen as you can see here:
So it doesn't seem to be because of the amount of text.
If anyone has had similar experiences and have found a fix for it, or that could confirm that this is some issue with the widget, that'd be great. This way I can continue on with my work.
Thanks,
Jens
Solved! Go to Solution.
Hello,
As my colleagues had not faced the same issue and I haven't been able to figure it out, I'll just continue to use the dropdown as it is supported.
Thanks,
Jens
I did not have issues yet. Can you confirm the first example has the same "string" value? like e.g. the "r" is in a different charset or theres some invisble character between 'k' and 'r'? so it does not match...
Hello,
I was thinking the same thing, however I am unsure how I would be able to check it.
There are several things that can not be shown. However using the dropdown widget, the filtering allows me to see the row:
Left is dropdown widget with filter function, and right is Auto Complete widget before writing the "r".
I checked in the dev tools after right clicking the row in auto complete widget:
<li class="ui-menu-item" id="ui-id-5535" tabindex="-1">SKROTAT</li>
To me it looks like it is just normal "swedish" text.
I was thinking maybe some of my custom CSS was messing with it so build a new mashup with just the widget but still the same issue.
This data does come from an import of a CSV, then it is set as a property on a thing.
I also tried setting the value manually, but still no luck.
Thanks,
Jens
Hm. May check in the network tab, what is received from the server - what the service returns in json when fetching the values for the dropdown... But seems weird yeah
Edit: Ah I confuces "AutoComplete" with the "Dropdown"-widget. I did not use AutoComplete yet - or have no memory on the issue. I remember we had some issues.. but not sure what they were anymore
Hello,
Ah okay hehe. Yes I also have not had this issue using the dropdown before, so I think I'll just have to go with that unless someone else can figure out the issue.
As the auto complete widget is not supported, I guess there could be some issues.
I know some other people in my organization uses it, so I'll have a chat with them to see if they have faced similar problems.
Thanks,
Jens
Hello,
As my colleagues had not faced the same issue and I haven't been able to figure it out, I'll just continue to use the dropdown as it is supported.
Thanks,
Jens