Skip to content

NejcZdovc/ng2-select2-demo

Repository files navigation

Demos for angular wrapper for Select2 (ng2-select2)

You can view a live demo here

Every single demo is separate component. Bellow you can find links to components with descriptions.

  • basic demo with only data input
  • disabled value in data array

Demo with options

  • width option
  • theme option
  • multiple option
  • closeOnSelect option

Demo with custom template demo

  • custom template for drop down
  • custom template for select2 input

Demo with data changing demo

  • when you change value in drop down, new value is displayed on the screen
  • you can change selected value
  • you can change select2 data

Demo with dynamic load demo

  • data is loaded with 4 second delay
  • selected value is loaded with 6 second delay

Demo with a custom matcher

  • we only match results if they are the same from the start of the string

Demo with a multiple options

  • multiple options
  • default value