Good morning, I updated to the latest version of phpmaker and the boostrap badges are displayed as text, I can't find what the problem is, I look forward to your suggestions.
These are the badges I use: <span class="badge text-bg-primary">Primary</span>
Bootstrap Badge
-
- User
- Posts: 19
Bootstrap Badge
-
- User
- Posts: 9445
- Where did you write your HTML for the badges?
- If you meant the badges in the default template, make sure you have generated all the .css files and uploaded to your website. (The Bootstrap CSS are under the adminlte3/css folder.)
- Make sure you press Ctrl + F5 in your browsers to reload the .css files.
-
- User
- Posts: 9445
Ela83 wrote:
I use a text field in the label and add the badge
Did you mean you add HTML to a text field? If so, note that by default Remove XSS is on and HTML will be encoded as string. If you use v2024, and you decide to allow HTML for that field, you may use the Remove XSS extension and set the field as raw to allow HTML. Also see Using Extensions.
It might be better to use Row_Rendered server event to add your badge in order not to compromise security.