Lack of interest Development Admin Options AutoComplete Class

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Snog

Well-known member
A simple request to add the option of using AutoComplete in option text boxes. That simply means adding the {$formatParams.class} option.

I've tested this by changing the admin template option_list_option_textbox to this:

Code:
<xen:textboxunit label="{$preparedOption.title}" name="{$fieldPrefix}[{$preparedOption.option_id}]" value="{$preparedOption.option_value}"
hint="{$formatParams.hint}" placeholder="{$formatParams.placeholder}" type="{$formatParams.type}" size="{$formatParams.size}" maxlength="{$formatParams.maxlength}" rows="{$formatParams.rows}" inputclass="Elastic {$formatParams.class}" >
 <xen:explain>{xen:raw $preparedOption.explain}</xen:explain>
 <xen:html>
 <xen:include template="option_list_option_editlink" />
 <input type="hidden" name="{$listedFieldName}" value="{$preparedOption.option_id}" />
 {xen:raw $editLink}
 </xen:html>
</xen:textboxunit>

And then add this to the format parameters in an option:
Code:
class = textCtrl AutoComplete AcSingle

So far as I can tell it works without a problem.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom