Item display rules - leave style blank

If you think that something doesn't work in Aware IM post your message here
Post Reply
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

Item display rules - leave style blank

Post by nhofkes »

There may be a small bug, or at least an inconvenience, in the settings for item display rules. It should be possible to specify only a CSS class and leave the style blank, but that results in a validation error.
The dialog contains two fields at the top:
Screenshot 2022-10-28 100234.jpg
Screenshot 2022-10-28 100234.jpg (27.94 KiB) Viewed 12835 times
The explanation above the second field states "Alternatively or in addition you can set CSS class of the element". The word "Alternatively" suggests that it is possible to leave the style box empty and only specify the CSS class. But when saving the rule this results in an error:
Screenshot 2022-10-28 100012.jpg
Screenshot 2022-10-28 100012.jpg (54.12 KiB) Viewed 12835 times
This can be solved by putting just a semicolon (;) in the style box. So not a huge problem, but it would be better if the dialog would accept a clean style box if at least one CSS class was provided.
Niels
(V9.0 build 3241 - MariaDB - Windows)
Post Reply