Adding 1000s options to select box variable dynamically gives performance issue
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 09:19 PM
if(selectedApp.permissions){
selectedApp.permissions.forEach(function(permission) {
var permissionName = permission.name + ' (' + permission.type + ')';
g_form.addOption('permissions_field',permissionName , permissionName);
});
}
I am using above code to add options dynamically to permission_field .
where selectedApp.permissions can be upto 15k and Data is not available in the table, fetching data with API call.
I am using above code to add options dynamically to permission_field .
where selectedApp.permissions can be upto 15k and Data is not available in the table, fetching data with API call.
0 REPLIES 0