<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to add createSearchChoice to select2 widget in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-add-createsearchchoice-to-select2-widget/m-p/323153#M10154</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How to inline createSearchChoice function to select2 widget, for instance this one:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;createSearchChoice:function(term, data) { if ($(data).filter(function() { return this.text.localeCompare(term)===0; }).length===0) {return {id:term, text:term};} },
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Sat, 03 May 2014 00:09:18 GMT</pubDate>
    <dc:creator>adam_bo_</dc:creator>
    <dc:date>2014-05-03T00:09:18Z</dc:date>
    <item>
      <title>How to add createSearchChoice to select2 widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-add-createsearchchoice-to-select2-widget/m-p/323153#M10154</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How to inline createSearchChoice function to select2 widget, for instance this one:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;createSearchChoice:function(term, data) { if ($(data).filter(function() { return this.text.localeCompare(term)===0; }).length===0) {return {id:term, text:term};} },
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2014 00:09:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-add-createsearchchoice-to-select2-widget/m-p/323153#M10154</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2014-05-03T00:09:18Z</dc:date>
    </item>
  </channel>
</rss>

