Closed RiZKiT closed 11 years ago
Cool! thx for pointing out the drawback! Maybe it should have "linkedCounter" that increases everytime its used and we check for it before destroying it.
Feels like one of the fastest Pulls ever! ;-)
linkedCounter sounds promising, but i'm exhausted now. Took me a day to get autocomplete working in that special case we have this time: it's bound to an input which will be replaced after a Request.HTML. Sounds simpler then was...
:) thx for the contribution!
Using '.destroy()' on a Meio.Autocomplete instance results in:
in Meio.Widget.destroy(), because there is a destroy() function in Meio.Element.Field but not in Meio.Element.List.
This fixes it, only drawback is, that the list element will be destroyed, even if it's shared with different instances.