I am sharing my latest “discovery” in case someone may find it useful.
I have noticed this obscure issue with the WebCheckbox in Xojo2025R3. The checkbox is set to be disabled and invisible (the control should stay on the page but not be exposed to the user for the time being). In Xojo2025R2.1 and previous releases the checkbox was correctly hidden (user did not see it). However, in Xojo2025R3 the checkbox “magically” showed up.
This WebApp is using “Bootstrap.min.css” file.
It turns out that I had to explicitly add the following code to the “Bootstrap.min.css” file to make it work:
.XojoCheckbox[style*="display: none"] {
display: none !important;
}
(using auxiliary file for that and merging via “yarn build” in VSC)
Additionally ChatGPT gave me this:
Is this a Xojo bug?
Partially.
Xojo 2025R3:
-
Correctly emits
display:none -
Does not guard against CSS frameworks overriding it
Xojo Web controls are not Bootstrap-aware, so once you introduce Bootstrap, you must explicitly protect visibility rules.
Best practice going forward
When using Bootstrap with Xojo Web:
Always explicitly lock visibility-sensitive controls
Prefer CSS-based hiding for dynamic UI
Treat Visible = False as advisory, not authoritative, once Bootstrap is involved