Tabler: how use selectize input ?

Created on 3 May 2018  路  3Comments  路  Source: tabler/tabler

How use selectize input ? (like Countries and Users list) ? any document for this type input?
Thanks

Most helpful comment

hey, @masihfathi!

require(['jquery', 'selectize'], function ($, selectize) {
      $(document).ready(function () {
        $('#input_selector').selectize({
          delimiter: ',',
          persist: false,
          create: function (input) {
              return {
                  value: input,
                  text: input
              }
          }
        });
      });
    });

All 3 comments

I think that's outside the scope of this project?

thanks, i mean sth like https://tabler.github.io/tabler/docs/cards.html, which for example is in docs demo for using card.

hey, @masihfathi!

require(['jquery', 'selectize'], function ($, selectize) {
      $(document).ready(function () {
        $('#input_selector').selectize({
          delimiter: ',',
          persist: false,
          create: function (input) {
              return {
                  value: input,
                  text: input
              }
          }
        });
      });
    });
Was this page helpful?
0 / 5 - 0 ratings

Related issues

domenrogina picture domenrogina  路  5Comments

marcowira picture marcowira  路  4Comments

drale2k picture drale2k  路  3Comments

ghost picture ghost  路  4Comments

guifelix picture guifelix  路  3Comments