To prevent XSS attacks of the Forms

Add your forms html in the [html.trusted] shortcode.
add the “data-safe_id='[app.safe_id /]’” attribute to your all form elements scripts and form tag itself.

Sample:

Also include the DOMPurify library in your awesome-js app.
sample can be found in DesignCafe dev site.

Updated on Jun 19, 2021