Deprecated modal : What next?

What’s going to happened to our beloved modals that seem to be deprecated.
Are they going to break in our apps at some point ?

I don’t think it will explicitly break, they’re just not gonna be available to be added from the Add menu and probably won’t be mantained so eventually, due to them being obsolete, they could break, but it’s not like one day, those deprecated modals implode because of WeWeb. The same scenario (deprecation) already happened with the columns layout. People just don’t use it anymore and use the Grid layout instead.

Hi @Matt , I can only confirm what @Broberto said - they won’t break but they won’t be maintained (optimized, refactored, etc.). No rush to do anything however, if you want your app to be up to date, over time you should replace them with the new elements.

thanks guys

Hi all, does anyone know how the new modal works? I need to make a modal appearing after a button click to confirm an action, before was so easy…now I can’t figure out how to make it happen

You can still find the old modal at the bottom of the Add panel, as for the new one, what’s bothering you about using it?

The component comes with component actions. So on a button click, you can execute a ‘Open’ component action in the workflow. Weweb should make this more clear.

sorry for the late reply, I understood how the component work but I couldn’t figure out how, for instance, add it to a button to open a moda. In the end I figured out I have to add the button inside the trigger component.

But as carrano says in the other post below mine, is not clear and there is no documentation ATM.

1 Like

hi, new documentation is coming for the dialog

hi @Luca thanks for the feedback. Here is the new documentation: Dialog | WeWeb Documentation

A video is also in the works, we will put it in the article as well. Let us know if something is still not clear.

1 Like