Questions tagged [selectize.js]

Selectize is a jQuery based hybrid form control, combining elements of both “textbox” and “select”. It includes autocomplete, native-feeling keyboard navigation and is able to utilize remote data sources to build visually rich controls.

Selectize is an extensible jQuery-based custom <select> UI control. It's useful for tagging, contact lists, country selectors, and so on. The goal is to provide a solid & usable experience with a clean and powerful API.

Features

  • Smart Option Searching / Ranking
  • Caret between items
  • Select & delete multiple items at once
  • Díåcritîçs supported
  • Item creation
  • Remote data loading
  • Clean API & code
  • Extensible
  • Touch Support

Resources

Related tags

673 questions
0
votes
1 answer

Get ID from selectize.js to form

I'm trying to set up a form on my site, and want to use some dynamic dropdown. I found Selectize.js, which seems like a good solution, however I'm struggling to find out how to get the ID's from the selected option when I post the form. As in user…
IanDK
  • 37
  • 1
  • 8
0
votes
0 answers

AngularJS : ng-selectize is not initializing selctize options after AJAX call

I'm using ng-selectize directive to a select box using angularJS. Options to the slectbox are retrieved from an AJAX call. AJAX call response is coming in proper format.If do inspect element, select box options are populated properly. But in the UI,…
Rads
  • 185
  • 1
  • 2
  • 16
0
votes
1 answer

Issue with JavaScript hasOwnProperty in Selectize createFilter

I'm trying to figure out the workings of a neat jQuery based library called selectize.js. On the demos-page they have an example of the "createFilter" function, which I want to use to check whether the user input already exist, and if not, create…
IanDK
  • 37
  • 1
  • 8
0
votes
1 answer

Meteor ignoring 'selected' attribute on

Anx
  • 141
  • 3
  • 12
0
votes
1 answer

How do i rebuild a Selectize built dropdown after the Select its based on changes

I'm using backbone and selectize to build a dropdown after a collection is fetched from the server. When the collection is updated, so is the original select. But selectize isnt updated. Here's my collectionReset that should be handling it…
harmingcola
  • 454
  • 6
  • 17
0
votes
1 answer

Selectize: Change searchField Dynamically

When using selectize I have a large group of users as my options, the field format for each option is: {username, phone, dob}. I currently have my searchField set to be the username. I was wondering if it is possible to change the searchField…
user3888007
0
votes
1 answer

How to use AngularJS built-in directives with custom input directive

I am trying to write a directive to wrap the Selectize jQuery plugin. I have it mostly functional, but I need to handle validations for required and maxlength. I am trying to make use of the ng-required and ng-maxlength directives, but can't get…
jsparks
  • 1,020
  • 1
  • 14
  • 19
0
votes
2 answers

Selectize not playing nice with form inputs

So I am using selectize and and I am doing it as such: $('#tags').selectize({ delimiter: ',', persist: false, create: function(input) { return { value: input, text: input } } }); } The…
user3379926
  • 3,855
  • 6
  • 24
  • 42
0
votes
1 answer

How to use ruby variable in Javascript to populate selectize

In below Rails view I am using javascript 'selectize' to display a select list. I cant figure out how to populate the list with my @contacts selection... I need to,loop through my @contacts and add them to the box. <%= f.input :to, input_html:…
0
votes
1 answer

Selectize.js on Appended Elements

I am currently trying to append new elements by clicking a button with a class of "add" to a parent . I want these appended elements to get the functionalities of selectize.js after being appended but somehow it's not working. Here is my javascript…
1 2 3
44
45