Hi,
I have a screen where a list of orders is displayed. For each record, there is an action button. When the user clicks the action button, a popup opens.
Inside the popup, I am using the ButtonLoading widget (from OutSystems UI, latest version).
❗ Problem:
When the popup opens, I get the following error:
There are no '.osui-btn-loading__spinner-animation' element as a '.btn' element child.
Hi @SreenivasuluReddy Lingala
Can you please check the class name of the button is .btn or not ?
Thanks,
Sudip
Hi @SreenivasuluReddy Lingala ,
Make sure the OS button class is applied to the button widget 'btn' or 'btn-primary' and the container holding the spinner should be inside the button widget.
Also check if there is any update on the dependencies for the widget.Also please check if this works.https://www.outsystems.com/forums/discussion/78468/button-spinning-animation-question/
Regards,Irfan Ahamed Abdul Shukoor
@SreenivasuluReddy Lingala
Can you please check whether there is any visible condition applied to the button?This issue usually occurs when only the button is hidden, while the button loading widget remains visible.
If this is the scenario, try hiding the entire button loading widget instead of only hiding the button.
Hope this helps.
Regards,
Rahul
Hi, Thanks all for responding
There are no visibility conditions or hidden properties applied to the Button in this scenario. I have attached the relevant screenshots for your reference.
Hey @SreenivasuluReddy Lingala
Can you check the base theme in your module theme? For me the module name is ButtonLoading and you can see the Base Theme is OutSystems UI
Check if your button has the class .btn
To ensure it works, delete the component from your widget tree and add it again.
Let me know if I helped.
To help the community, helping you, could you please share an oml with your use case being replicated (without any business information ofc) so we can try to look into the same use case? It would be super useful.
Cheers,GM