10

I installed Jquery-steps plugin and select2 plugin. I put select2 box inside the Wizard form (jquery-steps) and it doesn't work. The list values are not exported in . Outside the wizard select2 works fine.

DecoderNT
  • 984
  • 8
  • 18

1 Answers1

27

I just had to set $('.class').select2(); AFTER $('#form').steps();

Luís Cruz
  • 13,666
  • 16
  • 64
  • 89
DecoderNT
  • 984
  • 8
  • 18
  • You mean add all $("#id").select2({ placeholder: 'PleaseSelect' }).on('change', function(){ ... }); AFTER $('#form').steps(); OR move $('#form').steps(); before you define your select2. – Adrian P. Oct 29 '15 at 17:11
  • He meant the order of code should be: $('#form').steps(); $('.class').select2(); Can confirm this works. – Daniel Filipe Sep 21 '18 at 10:21