Browse Source

Correctif

develop
Guillaume 3 years ago
parent
commit
0f7f0615e3
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Resources/assets/functions/widgets.js

+ 1
- 3
Resources/assets/functions/widgets.js View File

if ($select.find('option[value=""]')) { if ($select.find('option[value=""]')) {
options.placeholder = $select.find('option[value=""]').html() options.placeholder = $select.find('option[value=""]').html()
} }
/*if($select.is(':required') == false) {
options.allowclear = true
}*/

var myselect = $select.select2(options); var myselect = $select.select2(options);


myselect.on('select2:select', function (e) { myselect.on('select2:select', function (e) {

Loading…
Cancel
Save