Skip to content

Commit

Permalink
limpiar combos locales bien
Browse files Browse the repository at this point in the history
  • Loading branch information
hmartinez85 committed Oct 9, 2024
1 parent 32a3a9d commit 20eb154
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rup_table/rup.table.js
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,11 @@
jQuery(elem).rup_autocomplete('setRupValue', '');
elem.defaultValue = "";
} else if (elemRuptype == 'combo') {
jQuery(elem).rup_combo('reload');
if (_typeof(elemSettings.source) === 'object' || _typeof(elemSettings.sourceGroup) === 'object') {//local
jQuery(elem).rup_combo('setRupValue',elemSettings.blank);
}else{
jQuery(elem).rup_combo('reload');
}
elem.defaulSelected = false;
} else if (elemRuptype == 'select') {
jQuery(elem).rup_select('clear');
Expand Down

0 comments on commit 20eb154

Please sign in to comment.