autoComplete

Optionally initialize an AutoComplete for this input, using this as its properties. All autocomplete settings you can find into the AutoComplete widget documentation.


<input id="input" ></div>
<script type="text/javascript">
    $(function () {
        $("#input").shieldTextBox({
            autoComplete: {
	            dataSource: {
		            data: countries,
		            filter: {
			            and: [
				            { path: "name", filter: "contains", value: "" }
			            ]
		            }
	            },
	            textTemplate: "{name} ({code})",
	            valueTemplate: "{name}"
            }
        });
    });
</script>