Alert element - set the "type" to success or error?

Hello there,

I’m looking at the weweb doc on the Alert element

There used to be a “type” apparantly.
Very usefull.
But it is not live anymore, why?

And what’s your best way to have success, error, and neutral alert ?

You’ll have to edit the workflow and add it yourself unfortunately. And then add the icon and have it conditionally render/change for the different types you define. :smile:

thanks Micah, i guess I just didn’t want to do it myself haha

1 Like

Haha I feel that. :smile:

If you browse the marketplace, there are packs out there with custom notifications that will do it for you. You maybe have already seen it, but there is this you can check out.

2 Likes

Yep it used to have it - I had it from an old project so I copied it from there, that’s why I had posted this question: Did Alert component loose functionality?

The old one was pretty nice it has different colors for different cases too like success, error, warn etc.

1 Like

Yeah it’s nice to have an out of the box alert with colors, instead of having to waste each time, in doing the same thing the component would do

I know there is the marketplace, but I also wish there was a way to share snippets, I can just send you the old alert since I have it… maybe feature request :slight_smile:

1 Like

Hehe could you do that ?
It’d be cool.

How do you share it ?

I do not think there is a way right now. I will ask in office hours today…

1 Like