Hi we added ProviderStatus as quick form view in main form, but it shows white spaces which need to remove
I try different approaches but its not work,
function formLoad(executionContext) {
var quickViewControl = formContext.ui.quickForms.get("Provider_Status");
quickViewControl.setVisible(true); // this works
if (quickViewControl && quickViewControl.getControl(0)) {
if (quickViewControl.isLoaded()) {
var allElements = document.querySelectorAll('[data-id]');
let mainContainer = document.querySelector('[data-id="Provider_Status"]');
let quickFormContainer = mainContainer.querySelector('[data-id="Provider_Status-QuickFormContainer"]');
}
}
}
We try to add
1. delay , recheck
2. re execute function in every 500 milliseconds,
3. Use MutationObserver to watch for DOM changes
4. quickViewControl.addOnLoad(function() { - this function not execute
In DOM structure verify all quick view form element loaded, data-id name also verified
still its not worked
If anyone have solution for tihs, Please help