I created an action button
button name="show_popup" string="Show Message" type="object"
with this action function:
def show_popup ( self ):
return { 'warning': { 'title' : 'Test Message', 'message' : 'Body of Popup'}
However, it's not working and it's only printing in the logs. But when i add the on_change() decorator it works. (i don't need the onchange decorator)
== EDIT ==
validating error and user error is no-go since i want the title to be different and there are next actions to be invoked
==
Please help

Unfortunately the warning only works with the onchage decorator, however you can raise a UserError with your message !
i can't update the title of the UserError though :(