Value problem
it's me again with another issue is setting default value.
For example:
<input type="text" class="flexdatalist" value="This is the value">
if I set value on my autocomplete my value is not appearing ? please click to live demo I can't see any value when page render ? Why is this possible? In the last release there was no such problem.
` $('.search-hotels').flexdatalist({ cache: true, requestType: "POST", searchDisabled: true, searchByWord: true, searchContain: true, textProperty: '{name}', valueProperty: 'seflink', maxShownResults: 50, minLength: 3, redoSearchOnFocus: false, focusFirstResult: false, selectionRequired: false, chainedRelatives: true, noResultsText: "{keyword} arama sonucu bulunamadı", groupBy: 'category', visibleProperties: ["name", "category", "description", "font"], searchIn: 'name', debug: false, relatives: "#checkinplaceholder_relative", url: '/ajax/SearchOtel', }).on("show:flexdatalist.results", function(ev, result) { $.each(result, function(key, value) { result[key]['icon_highlight'] = value.font; }); }).on('select:flexdatalist', function(ev, result) { $(this).parents(".book-holiday").find(".checkin,#checkin").focus(); $("#checkinplaceholder").attr("data-baslik-url", result.seflink);
}).on("before:flexdatalist.data", function() {
$("#otel-ara .autospin").html("<img src='" + cdnUrl + "/Assets/img/spin.gif' alt='Yukleniyor..'>");
}).on("after:flexdatalist.data", function() {
$("#otel-ara .autospin").html("");
});`
Hi,
Can you see if v2.1.2 resolves the issue? https://github.com/sergiodlopes/jquery-flexdatalist/releases/tag/2.1.2
Sérgio
Hi, Sergio I updated now, nothing changed thanks
yes I see but it has been removing by itself
if you want to see after search something if you come back to homepage you will see value is removing after 1 seconds
Hi,
I'll improve that on release 2.1.2 final ASAP. Don't have the necessary time to dive now into the code and make the required changes without possibly introducing new bugs. I'll do that later today (UTC time)
I'll post here as soon as I make the changes.
Sérgio
Thanks Sérgio I'll be waiting for thanks.
Hi,
Check out latest stable release 2.1.3.
Sérgio
doesn't work, do I have to do any config ?
Hi,
Sorry for the delay. There's definitely a problem, but not sure yet out to fix it. I'll try to get a workaround working on next release.
Thanks! Sérgio
I'll be waiting thanks again
+1 I can notice this as well. I am combining AngularJS + flexdatalist if that helps.
is there any progress please ?
Hi,
Please check latest release if the problem persists.
Thank you! Sérgio
Nope still the same problem with 2.2.4