Hi, would it be possible anyway to deploy the simple modal component from the marketplace through Codeless only, without putting it into the UI Builder?
I like the way that it looks and would like to replace all instances of the “show alert” codeless with alerts that are sent through the simple modal. That would end up being a lot of placeholder modals in UI Builder though. It would be awesome if I could just call it in a custom function and I’ll pass in any arguments that are needed.
Alternatively, is the popup that comes from the ‘show alert’ codeless block modifiable through CSS so that I could make that look like the simple modal?
Also I’m not sure, if i get your problem. Please, describe what you want to achieve and how it looks now.
Alternatively, is the popup that comes from the ‘show alert’ codeless block modifiable through CSS so that I could make that look like the simple modal?
The alert box is a system object, and not subject to CSS.
Thanks Dima. Right now, in order to use the Simple Modal component from the marketplace I need to insert the component into the UI builder. I set the text and things there and then in Codeless I simply open/close it.
I am wondering if there is anyway that I can skip putting the component in the UI builder and simply call a block in Codeless that says, “open a simple modal with these parameters”. That would allow me to more easily replace any instance of the “Show Alert” box with a modal call, without having to put the component into the UI builder each time. I have a lot of notifications so that would be a lot of Simple Modals floating around in the UI Builder.
Does this make sense?
Understand on the alert box being a system object and not subject to CSS. I suspected that would be the case.
Unfortunately, you cannot use components without adding them to the ui-builder designer. In theory, this can be done through the “Custom code” block, but this will require Java Script skills