Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Martijn Habraken
7
Views
3
Comments
Solved
Double Not_Valid class when invalidating Inputs
Question
Hi all,
I was checking my CSS when I stumbled upon something strange.
I have an input which I invalidated and when I look in the CSS it has twice the class Not_Valid, which means it has twice the CSS class associated with this class.
I made some screenshots.
Screen:
Inspector:
CSS:
Any of you an idea what can cause this?
Thanks!
BTW I'm working with the Liverpool theme
Kilian Hekhuis
MVP
Solution
Martijn,
Even if the class appears twice, this shouldn't cause any problems given the way browsers apply the CSS. That said, how do you invalidate the input?
Martijn Habraken
Hi Kilian,
I invalidate the input by setting the Input.Valite to False en setting the Input.ValidationMessage to "This is not valid"
The double class isn't a danger for preformance? Does he load the class twice?
Kilian Hekhuis
MVP
Martijn,
There's no "loading" of a class. Don't worry, performance won't be affected :).
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...