chemerisuk / better-form-validation Goto Github PK
View Code? Open in Web Editor NEWForm validation polyfill for better-dom
Home Page: http://chemerisuk.github.io/better-form-validation/
License: MIT License
Form validation polyfill for better-dom
Home Page: http://chemerisuk.github.io/better-form-validation/
License: MIT License
Hello,
The script sets the following style:
DOM.importStyles("input[aria-invalid]", "background:none no-repeat right center / auto 100% content-box");
If the input field has an initial background-color
value it will become transparent when validation kicks in. You should probably set the individual background properties such as background-repeat
etc.
Cheers!
Hey,
please provide the package.json and publish this package and it's dependencies to NPM.
When I include better-form-validation.js
in my project, and the required dependencies, with the following load order:
'better-dom.js',
'better-18n-plugin.js',
'better-popover-plugin.js',
'better-form-validation.js',
And I submit the form, I get this error message in the console: Uncaught TypeError: popover.l10n is not a function
which seems to originate in better-form-validation.js on line 284
Here's a screenshot showing the issue. I also loaded the page without any other JS just to make sure I wasn't seeing some strange behaviour or collision with another library and still got the error.
I tested in Chrome 45.0.2454.93 (64-bit)
, Firefox 40.0.3
and Safari 8.0.8 (10600.8.9)
with identical results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.