<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre>Yep, use a field type of 'select' when creating the search service (in app.js).
Example:
app.registerService('search', SearchService, {
fields: [
{type: 'select', label: 'Owner Name', name: 'OWNER_NAME',
options: [
{ label: "Smith", value: "Smith" },
{ label: "Matt", value: "Matt" }
]
},
{type: 'text', label: 'Street/Address', name: 'OWN_ADD_L1'},
{type: 'text', label: 'City/State/ZIP', name: 'OWN_ADD_L3'}
],
searchLayers: ['vector-parcels/parcels']
});
</pre>
<div class="moz-cite-prefix">On 12/9/18 2:45 PM, Stathis G.
Arapostathis wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAH+BHX=NcpQpkUarvz2cKqVevru+4M07uqtMd30njtrxG=GfXA@mail.gmail.com">
<div dir="ltr">Dear Sirs / Madams
<div><br>
</div>
<div> I was wondering on how I could have a drop down menu,
with a pre-selected list of choices instead of just typing
words while using the search service. </div>
<div><br>
</div>
<div>It is just a matter of difficulties regarding the Greek
language. Many words have synonyms which are commonly used;
along with the greek punctuation, it would be suit me better
to have a drop down menu.</div>
<div><br>
</div>
<div>Is that possible?</div>
<div><br>
</div>
<div>thank you very much for all your help so far.</div>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table>
<tbody>
<tr>
<td><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon"
target="_blank" moz-do-not-send="true"><img alt=""
moz-do-not-send="true" width="46" height="29"></a></td>
<td>Virus-free. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link"
target="_blank" moz-do-not-send="true">www.avast.com</a>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/geomoose-users">https://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
</blockquote>
</body>
</html>