update os group fix select2
This commit is contained in:
@@ -22,8 +22,10 @@ $selectedHostId = old('module_host_id') ?? ($model?->module_host_id ?? ($model?-
|
||||
}
|
||||
window.hostComponentInitialized = true;
|
||||
|
||||
// Initialize Select2
|
||||
initSelect2();
|
||||
// Initialize Select2 using global function
|
||||
if (typeof window.initSelect2 === 'function') {
|
||||
window.initSelect2();
|
||||
}
|
||||
|
||||
const $datacenter = $('.datacenter_id');
|
||||
const $host = $('.host_id');
|
||||
|
||||
Reference in New Issue
Block a user