Defines an Autocompleter widget.
Attribute | Description | Type | Default | Options | Use |
---|---|---|---|---|---|
src | Specifies the URL address of the autocompletion service responsible for returning a list of matching items | xs:anyURI | required |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
xmlns:widget="http://www.volantis.com/xmlns/2006/05/widget"
xmlns:si="http://www.volantis.com/xmlns/2006/01/xdime2/si"
xmlns:xforms="http://www.w3.org/2002/xforms">
<head>
<title>widget:autocomplete</title>
<xforms:model>
<xforms:instance>
<si:instance>
<si:item name="f1"/>
</si:instance>
</xforms:instance>
</xforms:model>
</head>
<body>
<xforms:group>
<xforms:input ref="f1">
<xforms:label>country</xforms:label>
<widget:autocomplete src="http://localhost:8080/mcs/projects/client-app/service/autocomplete"/>
</xforms:input>
</xforms:group>
</body>
</html>