I’m trying to show a confirmation dialog on an on-click event in Alpha.
For that, I’ve created a separate page, and I want to display some static text in the dialog. However, I’m not able to find any label component or similar option to add static content.
Can anyone guide me on how to achieve this in Alpha?
@Simphiwe
Could you please explain the correct way to use HTML view?
If there’s any official documentation available, I’d really appreciate it if you could share the link.
To display data on the Html View, you need to bind your variable.
As you can see on the image below, local and title.
I have alpha.local.get().title a string which am display in my html view.
That should do.
@Simphiwe, I’m trying to create a dialog box similar to what’s shown in Screenshot_1, but the one I’ve built looks more like Screenshot_2.
Could you please help me understand how to achieve the layout or styling from Screenshot_1?
You will need to use some css to remove the border which you can do that on styles page.
The button you can select tertiary on the Style Button properties, to make text color black you need to do some css on styles page.
To target a specific element, just copy the component’s ID and use it on your CSS.