Browse Source

Select fix

This fixed restore default if you initiate a new semantic ui dropdown by
using select tags instead of the raw markup
pull/1630/head
Marcos Mariano 9 years ago
parent
commit
39e48ba2c0
1 changed files with 2 additions and 0 deletions
  1. 2
      src/definitions/behaviors/form.js

2
src/definitions/behaviors/form.js

@ -163,6 +163,8 @@ $.fn.form = function(fields, parameters) {
switch (type) {
case 'hidden':
case 'select-one':
case 'select-multiple':
$parent.is('.ui.dropdown') && $parent.dropdown('restore defaults');
break;
case 'checkbox':

Loading…
Cancel
Save