DEV Community

Maik Michel
Maik Michel

Posted on • Originally published at micodify.de on

Finally we can stick buttons to items declaratively

In my current project, there was a requirement to place a button on the TextItem itself. Previously, i.e. before APEX 22.2, this had to be done in the PostText-Item area. Here you had to insert the Html-code for a button and include a possibly existing action via DynamicActions, which was then bound to a corresponding selector.

Today, with the current APEX version (22.2) we can implement the entire functionality declaratively. For this purpose, the text item to be extended is placed in a new region of the type Item Container. This region offers slots to place one or more buttons at the beginning or at the end of the item. These are then configured as usual in the Property Inspector.

Great, thanks to the APEX team!

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay