Atozed Forums
css properties in check and radio components - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: css properties in check and radio components (/thread-2646.html)



css properties in check and radio components - raulevm - 02-22-2022

Good afternoon, I am using many IWRadioButton, IWRadioGroup, IWDBRadioGroup, IWCheckBox and IWDBCheckBox in html templates. I think it would be much better and easier to work with them if they had a css property for items and captions. This way you can take better advantage of bootstrap or W3.css frameworks as these have their classes defined inside input, label and span tags . is it possible to do this in some next version. Thanks in advance.


RE: css properties in check and radio components - Alexandre Machado - 02-24-2022

I'll add this feature request to our backlog. I can't guarantee but I'll evaluate it and let you know.

Kind regards,


RE: css properties in check and radio components - raulevm - 03-22-2022

Dear all, I have been able to solve this with JavaScript code in the html file. However, this solution is quite tedious when there are many IntraWeb components containing child tags that need classes. I attach image with the solution to maintain compatibility with Bootstrap 4 and 5. You could create 2 properties for the components IWCheckBox, IWRadioButton, IWDBCheckBox... called InputCSS and LabelCSS (or something similar) to input the classes and avoid so much redundant JavaScript code. Thanks in advance, hopefully it can be done.