Skip to content

mondorobot/selectize-disable-options

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

disable_options plugin for selectize.js

See the Selectize Plugin Docs for general use instructions.

This plugin disables options in a selectize dropdown based on the option's [data-value] attribute. All you need to do is pass in an array of values for the options you want to disable.

  $('select').selectize({
    plugins: {
      'disable_options': {
        disableOptions: myArray
      },
    }
  });

selectize.js

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published