Comments (3)
Is this related to the other question regarding css Sykes? You can use the built in angular classes to control this.
from xtform.
I don't think so.
I have a DIV that I give a xt-validation-tooltip="field1" field1 also has a xt-validation-tooltip.
When I test I can see that the class xt-error-container is added to the DIV but it is there alway's.
I also see the angular ng-invalid and ng-dirty classes on field1 as I manipulate the data.
But when I manipulate the data there is no change in classes on DIV. So how am I supposed to indicate that that an error has occurred ? By the way the tooltip is also not appearing.
I don't know if it is relevant, but field1 is inside DIV.
from xtform.
I discovered that the trigger for the tooltip is still on the validated field and NOT on the element with the tooltip. As the tooltip appreas on click I have to click the field to get a tool tip on something else.
And as I have been using this on hidden fields to indicate errors within groups of fields I did not see anything.
So it worked different that expected.
As there is only a change in the tooltip element when the tooltip is opened or closed this can not be used for attaching css for error colors
from xtform.
Related Issues (20)
- CSS styles required for red borders are not documented HOT 1
- translations HOT 5
- Tooltip hover behaviours HOT 4
- $validators HOT 1
- bower install not working HOT 4
- inline validation doesn't work correctly with dynamic id's HOT 2
- fix code for minification HOT 1
- How to use the pattern type for xtFormValidationInline HOT 2
- xtForm + jasmine
- Custom strategy for validation errors on form load
- it's 2015
- xtForm and UI Bootstrap $apply already in progress HOT 3
- Custom validation support? HOT 8
- Tooltips does not hide when I hit browser back button HOT 2
- Add main file to bower.json
- Problem with the validation
- Tooltips left behind HOT 2
- Does not work with nested ng-form
- Installation documentation incorrect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xtform.