We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2ce2e commit 709ed43Copy full SHA for 709ed43
grails-app/assets/javascripts/forms-knockout-bindings.js
@@ -477,6 +477,7 @@
477
478
if (columnWidth > 10) {
479
select2.css('max-width', columnWidth+'px');
480
+ $(element).validationEngine('updatePromptsPosition');
481
}
482
else {
483
// The table is not visible yet, so wait a bit and try again.
@@ -492,7 +493,7 @@
492
493
ko.utils.domNodeDisposal.addDisposeCallback(element, function() {
494
$(window).off('resize', resizeHandler);
495
});
- setTimeout(calculateWidth, 0);
496
+ calculateWidth();
497
498
499
@@ -620,6 +621,9 @@
620
621
if (options.preserveColumnWidth) {
622
forceSelect2ToRespectPercentageTableWidths(element, options.preserveColumnWidth);
623
624
+ else {
625
+ applySelect2ValidationCompatibility(element);
626
+ }
627
628
};
629
0 commit comments